Now adds the include of the debconf include.
authorThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 14:41:18 +0000 (22:41 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 14:41:18 +0000 (22:41 +0800)
Change-Id: Ic2e80833adadc741d437154049bfc130a0f2be5a

Rewritten-From: ceb94386a51de28e20274b05c455e8b769f84565

trusty/debian/ceilometer-common.postinst.in

index 9255dcbe2bbd3e8b23d3e8cdd471b5e37346dff6..2ba7377faa439fbf71ecf75a7b5b4ebf3849da0c 100644 (file)
@@ -34,7 +34,8 @@ libvirt_user_group () {
        fi
 }
 
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
+       . /usr/share/debconf/confmodule
        pkgos_adduser nova
        pkgos_var_user_group ceilometer
        libvirt_user_group