#PKGOS-INCLUDE#
-# We need to do that for ceilometer-agent-compute
-libvirt_user_group () {
- if getent group libvirt ; then
- LIBVIRT_GROUP=libvirt
- elif getent group libvirtd ; then
- LIBVIRT_GROUP=libvirtd
- else
- if dpkg-vendor --derives-from ubuntu ; then
- LIBVIRT_GROUP=libvirtd
- else
- LIBVIRT_GROUP=libvirt
- fi
- fi
-
- if ! getent group ${LIBVIRT_GROUP} >/dev/null; then
- addgroup --system ${LIBVIRT_GROUP}
- fi
-
- # user and group libvirt runs qemu/kvm instances with
- if ! getent group kvm >/dev/null; then
- addgroup --quiet --system kvm
- fi
- if ! getent passwd libvirt-qemu >/dev/null; then
- adduser --quiet \
- --system \
- --ingroup kvm \
- --quiet \
- --disabled-login \
- --disabled-password \
- --home /var/lib/libvirt \
- --no-create-home \
- -gecos "Libvirt Qemu" \
- libvirt-qemu
- fi
-}
-
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
. /usr/share/debconf/confmodule
pkgos_adduser nova
pkgos_var_user_group ceilometer
- libvirt_user_group
adduser ceilometer nova || true
adduser ceilometer ${LIBVIRT_GROUP} || true
pkgos_write_new_conf ceilometer ceilometer.conf
+ceilometer (1:6.0.0-5~u14.04+mos0) mos9.0; urgency=medium
+
+ * Remove dpkg-dev dependency with the function which required it.
+ (LP#1673680)
+
+ -- Ivan Udovichenko <iudovichenko@mirantis.com> Wed, 22 Mar 2017 14:53:28 +0200
+
ceilometer (1:6.0.0-4~u14.04+mos0) mos9.0; urgency=medium
* Rebuild with new version of openstack-pkg-tools package.