summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-10-23 14:59:42 -0400
committerMicah Anderson <micah@riseup.net>2008-10-23 14:59:42 -0400
commit96760cc558a2e6f72b138f2fc3e16820f3bf2036 (patch)
treec0b629851ea52e3f3d62846e41eb83e53f65a7fa
parent90f14f4ae47fcd279d64da1fa9e169197a884912 (diff)
debian has both status and restart options, in fact restart is
preferable because a stop/start operation can leave sshd broken because the stop wont stop before the start is run. On the next puppet run ssh will be brought back up, but its a hair-raising few minutes while you wonder what happened
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 55a2714..aaf068e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -247,7 +247,8 @@ class sshd::debian inherits sshd::linux {
}
Service[sshd]{
name => 'ssh',
- hasstatus => false,
+ hasstatus => true,
+ hasrestart => true,
}
}
class sshd::ubuntu inherits sshd::debian {}