cinder (2012.2-1) experimental; urgency=low
+ [ Mehdi Abaakouk ]
* New upstream release 2012.2
+ [ Thomas Goirand ]
+ * Fixes wrong handling (eg: policy violation) of /etc/cinder/cinder.conf.
+
-- Mehdi Abaakouk <sileht@sileht.net> Sat, 29 Sep 2012 09:23:22 +0200
cinder (2012.2~rc1+git1~6b31057-1) experimental; urgency=low
etc/cinder/api-paste.ini etc/cinder
etc/cinder/rootwrap.d/volume.filters /etc/cinder/rootwrap.d
etc/cinder/rootwrap.conf etc/cinder
-debian/cinder.conf etc/cinder
+debian/cinder.conf usr/share/cinder-common
debian/logging.conf etc/cinder
debian/cinder_sudoers etc/sudoers.d
# Create config files if they don't exist
if ! [ -d /etc/cinder ] ; then
- mkdir /etc/cinder
+ mkdir -p /etc/cinder
fi
if ! [ -e /etc/cinder/cinder.conf ] ; then
- cp /usr/share/doc/cinder-common/cinder.conf.dist /etc/cinder/cinder.conf
+ cp /usr/share/cinder-common/cinder.conf /etc/cinder/cinder.conf
fi
chown -R cinder:adm /var/log/cinder
if [ "$1" = "purge" ] ; then
rm -f /etc/cinder/cinder.conf
+ rmdir --ignore-fail-on-non-empty /etc/cinder
rm -f /etc/default/cinder-common
rm -rf /var/lib/cinder
fi