fixed language problem

git-svn-id: https://svn/ipuppet/trunk/modules/sshd@735 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
mh 2008-02-02 00:36:44 +00:00
parent dc7d6d0120
commit 904bdd65ed

View file

@ -29,6 +29,13 @@ class sshd {
}
package{openssh:
name => $operatingsystem ? {
debian: => 'openssh-server',
ubuntu: => 'openssh-server',
redhat: => 'openssh-server',
centos: => 'openssh-server',
default: => 'openssh',
},
category => $operatingsystem ? {
gentoo => 'net-misc',
default => '',
@ -36,13 +43,6 @@ class sshd {
ensure => present,
}
case $operatingsystem {
centos,redhat,debian,ubuntu: {
package{openssh:
name => 'openssh-server',
}
}
}
}
}
}