summaryrefslogtreecommitdiff
path: root/manifests/openbsd.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-09-29 19:53:04 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 16:03:55 -0500
commit5e20e07d1fead39375f656a2b0091e17fe14d95b (patch)
treec7199109e6824f789555ea885f73e29a517e16cf /manifests/openbsd.pp
parent57eae8bc845318eb89c48acef3ca13468689a875 (diff)
factor everything into its own file
Diffstat (limited to 'manifests/openbsd.pp')
-rw-r--r--manifests/openbsd.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/openbsd.pp b/manifests/openbsd.pp
new file mode 100644
index 0000000..f1379d7
--- /dev/null
+++ b/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',
+ hasstatus => false,
+ }
+}