Random Project

Comments

Hard-coded paths make this difficult to use. There’s not always (and probably shouldn’t ever) be a link to the puppet binary in /usr/bin.

A simpler option is to use the status option of the puppet init script, i.e, /sbin/service pe-puppet status or /etc/init.d/*puppet status.