lib/poolparty/templates/puppetrunner in poolparty-0.2.69 vs lib/poolparty/templates/puppetrunner in poolparty-0.2.84
- old
+ new
@@ -2,7 +2,7 @@
. /etc/profile
if [ $(/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master)]; then
echo "Run successfully"
else
- /usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master
+ /usr/bin/puppetrerun;/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog --server master
fi
\ No newline at end of file