Files
integ/config/puppet-modules/puppet-dnsmasq/debian/deb_folder/puppet-dnsmasq.postinst
Dan Voiculeasa 615a3a2c60 Add debian package for puppet-dnsmasq module
Package latest puppet-dnsmasq from the same repo as the one used on
CentOS 7.

Remains to be tested to see if this works with Puppet 5.

Did build-pkgs. Did build-image.

Story: 2009101
Task: 43257
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I34576ecdd89986c5948e0ed74a9afbb9a7fd9f82
2021-09-28 12:00:44 +03:00

14 lines
257 B
Bash

#!/bin/sh
# see: dh_installdeb(1)
set -e
if [ "${1}" = "configure" ] ; then
update-alternatives --install /usr/share/puppet/modules/dnsmasq puppet-module-dnsmasq \
/usr/share/puppet/modules.available/puppet-dnsmasq 500
fi
#DEBHELPER#
exit 0