on newer puppet version the openbsd service provider changed slightly making this necessary
This commit is contained in:
parent
8ecac4219f
commit
be062f00e2
1 changed files with 4 additions and 4 deletions
|
@ -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`',
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue