diff options
Diffstat (limited to 'puppet/modules/sshd/manifests/openbsd.pp')
m--------- | puppet/modules/sshd | 0 | ||||
-rw-r--r-- | puppet/modules/sshd/manifests/openbsd.pp | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/sshd b/puppet/modules/sshd deleted file mode 160000 -Subproject 76f4f872f81209a52df2205fd88b5619df58f00 diff --git a/puppet/modules/sshd/manifests/openbsd.pp b/puppet/modules/sshd/manifests/openbsd.pp new file mode 100644 index 00000000..cb6dbba6 --- /dev/null +++ b/puppet/modules/sshd/manifests/openbsd.pp @@ -0,0 +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', + status => '/usr/bin/pgrep -f /usr/sbin/sshd', + } +} |