on newer puppet version the openbsd service provider changed slightly making this necessary

This commit is contained in:
mh 2013-05-20 20:43:51 +02:00
parent 8ecac4219f
commit be062f00e2

View file

@ -1,8 +1,8 @@
class sshd::openbsd inherits sshd::base {
Service[sshd]{
restart => '/bin/kill -HUP `/bin/cat /var/run/sshd.pid`',
stop => '/bin/kill `/bin/cat /var/run/sshd.pid`',
start => '/usr/sbin/sshd',
hasstatus => false,
restart => '/bin/kill -HUP `/bin/cat /var/run/sshd.pid`',
stop => '/bin/kill `/bin/cat /var/run/sshd.pid`',
start => '/usr/sbin/sshd',
status => '/usr/bin/pgrep -P `/bin/cat /var/run/sshd.pid`',
}
}