summaryrefslogtreecommitdiff
path: root/puppet/modules/sshd/manifests/openbsd.pp
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:22 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:22 -0400
commit8166111831b79d426964440cd355d57ee33878f7 (patch)
treec51b0abbc9f5136c6ad8439a1423dfb88f61a0a2 /puppet/modules/sshd/manifests/openbsd.pp
parent991f91c5cd53524b09d2d880569178cb455392f1 (diff)
parent823e83dfb47af1d023f5e4ca46078bbc4df72006 (diff)
Merge commit '823e83dfb47af1d023f5e4ca46078bbc4df72006' as 'puppet/modules/sshd'
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',
+ }
+}