From: Thomas Goirand Date: Thu, 23 Apr 2015 16:23:26 +0000 (+0200) Subject: Now using oslo-config-generator to build the .conf.sample X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=6d81c3fc6b3ed179f08c38e19d58f683ac1a90b0;p=openstack-build%2Fcinder-build.git Now using oslo-config-generator to build the .conf.sample Rewritten-From: 86ba698968447ba7af0a58e375c7245ed957fa03 --- diff --git a/xenial/debian/rules b/xenial/debian/rules index 5dd0bda07..ea071208d 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -22,8 +22,15 @@ 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)/debian/cinder.conf $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf - #install -D -m 0644 $(CURDIR)/etc/cinder/cinder.conf.sample $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf + oslo-config-generator --output-file $(CURDIR)/etc/cinder/cinder.conf.sample \ + --namespace cinder \ + --namespace oslo.concurrency \ + --namespace oslo.db \ + --namespace oslo.messaging \ + --namespace oslo.policy \ + --namespace keystonemiddleware.auth_token + #install -D -m 0644 $(CURDIR)/debian/cinder.conf $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf + install -D -m 0644 $(CURDIR)/etc/cinder/cinder.conf.sample $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf # Disable https in default setup, as this makes our CI fail sed -i 's/#auth_protocol=https/auth_protocol=http/' $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf