Puppet - Not disabled

Description

Checks for Puppet 2.7 puppetdlock file indicating Puppet runs are disabled

Solution

/usr/bin/puppet agent --enable

Check Script: puppet-not-disabled.sh

if [ ! -f /var/lib/puppet/state/puppetdlock ]; then
	result_ok
else
	result_failed
fi