]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
added Debian specific stuff
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Sat, 2 Feb 2008 00:13:31 +0000 (00:13 +0000)
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Sat, 2 Feb 2008 00:13:31 +0000 (00:13 +0000)
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@729 d66ca3ae-40d7-4aa7-90d4-87d79ca94279

manifests/init.pp

index 06db365e341237f8f310e832883f2c139fd31daf..157f28aa9a2b8be8fb5aed1ba4df5f499b3520fa 100644 (file)
@@ -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 ? {