From: mh Date: Sat, 2 Feb 2008 00:13:31 +0000 (+0000) Subject: added Debian specific stuff X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9ebb3866e4e446d29edabcdbcbba659fe6cd0405;p=puppet-sshd.git added Debian specific stuff git-svn-id: https://svn/ipuppet/trunk/modules/sshd@729 d66ca3ae-40d7-4aa7-90d4-87d79ca94279 --- 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 ? {