aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-02 00:13:31 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-02 00:13:31 +0000
commit9ebb3866e4e446d29edabcdbcbba659fe6cd0405 (patch)
treeb0c2b0c08cb1fefd86f1c2c2ecf77015ee3e0d0a
parentcdafb270130e4232cc7da7ef81a34b26bc38710c (diff)
downloadpuppet-sshd-9ebb3866e4e446d29edabcdbcbba659fe6cd0405.tar.gz
puppet-sshd-9ebb3866e4e446d29edabcdbcbba659fe6cd0405.tar.bz2
added Debian specific stuff
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@729 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
-rw-r--r--manifests/init.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 06db365..157f28a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -15,6 +15,10 @@ class sshd {
}
default: {
service{'sshd':
+ name => $operatingsystem ? {
+ debian,ubuntu => 'ssh',
+ default => 'sshd',
+ },
enable => true,
ensure => running,
require => Package[openssh],
@@ -22,7 +26,7 @@ class sshd {
package{openssh:
name => $operatingsystem ? {
- centos => openssh-server,
+ centos,debian,ubuntu => openssh-server,
default => openssh,
},
category => $operatingsystem ? {