pkgos_var_user_group cinder
pkgos_dbc_read_conf -pkg cinder-common ${CINDER_CONF} DEFAULT sql_connection cinder $@
+pkgos_rabbit_read_conf ${CINDER_CONF} DEFAULT cinder
pkgos_read_admin_creds ${CINDER_API} filter:authtoken cinder
manage_cinder_enable
-debian/cinder.conf /usr/share/cinder-common
-debian/logging.conf /etc/cinder
etc/cinder/api-paste.ini /usr/share/cinder-common
etc/cinder/policy.json /etc/cinder
etc/cinder/rootwrap.conf /etc/cinder
pkgos_write_new_conf cinder cinder.conf
pkgos_write_new_conf cinder api-paste.ini
+ pkgos_write_new_conf cinder logging.conf
pkgos_dbc_postinst ${CINDER_CONF} DEFAULT sql_connection cinder $@
+ pkgos_rabbit_write_conf ${CINDER_CONF} DEFAULT cinder
pkgos_write_admin_creds ${CINDER_API} filter:authtoken cinder
db_get cinder/volume_group
if [ -n "${RET}" ] ; then
_Description: Cinder volume group:
Please specify the name of the LVM volume group (vg) on which Cinder
will create partitions.
+
+Template: cinder/rabbit_host
+Type: string
+Default: localhost
+_Description: IP address of your RabbitMQ host:
+ In order to interoperate with other components of OpenStack, this package
+ needs to connect to a central RabbitMQ server.
+ .
+ Please specify the IP address of that server.
+
+Template: cinder/rabbit_userid
+Type: string
+Default: guest
+_Description: Username for connection to the RabbitMQ server:
+ In order to interoperate with other components of OpenStack, this package
+ needs to connect to a central RabbitMQ server.
+ .
+ Please specify the username used to connect to the RabbitMQ server.
+
+Template: cinder/rabbit_password
+Type: password
+_Description: Password for connection to the RabbitMQ server:
+ In order to interoperate with other components of OpenStack, this package
+ needs to connect to a central RabbitMQ server.
+ .
+ Please specify the password used to connect to the RabbitMQ server.
override_dh_install:
dh_install --fail-missing -Xbin/cinder-all
install -D -m 0440 debian/cinder-common.sudoers $(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common
+ install -D -m 0644 $(CURDIR)/etc/cinder/cinder.conf.sample $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
+ install -D -m 0644 $(CURDIR)/etc/cinder/logging_sample.conf $(CURDIR)/debian/cinder-common/usr/share/cinder-common/logging.conf
override_dh_fixperms:
dh_fixperms -Xcinder_tgt.conf