X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=xenial%2Fdebian%2Frules;h=1d6cd3abeb5107708d74f8020ceb6b10e38aade5;hb=64618dda03d816a3696ba0bcd7b7b1ca94b7a662;hp=848ea8bb92771565b56aa5c1dd8488b680bd476a;hpb=6efb278290d9f1ee5f6021ca55226d1bb901eba4;p=openstack-build%2Fceilometer-build.git diff --git a/xenial/debian/rules b/xenial/debian/rules index 848ea8b..1d6cd3a 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -7,7 +7,7 @@ include /usr/share/openstack-pkg-tools/pkgos.make export OSLO_PACKAGE_VERSION=$(VERSION) %: - dh $@ --with python2 + dh $@ --with python2,systemd override_dh_clean: dh_clean @@ -22,8 +22,9 @@ override_dh_install: mkdir -p $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common PYTHONPATH=. bash tools/config/generate_sample.sh -b . -p ceilometer -o $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common mv $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf.sample $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf + sed -i 's|[# \t]*auth_protocol[\t ]*=.*|auth_protocol=http|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf chmod 0644 $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf - sed -i 's|#connection=|connection=mongodb://localhost:27017/ceilometer|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf + sed -i 's|#connection=.*|connection=mongodb://localhost:27017/ceilometer|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf override_dh_auto_build: dh_auto_build