Upgrade puppet for module command.
unattended upgrades is not upgrading puppet on the slaves in our cron jobs because we've changed puppet.conf. This brings up a question. But, if we don't have the puppet module command, things go poorly here - so check to see if we have it, and if not, do an install forcing old conf values. Change-Id: Ia84f49e165e20eba3484410a4c3c19ca62e75460
This commit is contained in:
parent
ad9859efd6
commit
c58455d258
@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! puppet help module >/dev/null 2>&1 ; then
|
||||
apt-get install -y -o Dpkg::Options::="--force-confold" puppet facter
|
||||
fi
|
||||
|
||||
MODULES="puppetlabs-mysql puppetlabs-dashboard"
|
||||
MODULE_LIST=`puppet module list`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user