summaryrefslogtreecommitdiff
path: root/puppet/modules/sshd/manifests/openbsd.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/sshd/manifests/openbsd.pp')
-rw-r--r--puppet/modules/sshd/manifests/openbsd.pp8
1 files changed, 8 insertions, 0 deletions
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',
+ }
+}