3 package { 'mpt-status':
7 file { '/etc/default/mpt-statusd':
8 content => "# This file is under puppet control\nRUN_DAEMON=no\n",
9 notify => Exec['mpt-statusd-stop'],
12 exec { 'mpt-statusd-stop':
13 command => 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --signal TERM --quiet --pidfile "$pidfile"; rm -f "$pidfile"; pkill -INT -P 1 -u 0 -f "/usr/bin/daemon /etc/init.d/mpt-statusd check_mpt"',