fixed language problem
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@735 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
parent
dc7d6d0120
commit
904bdd65ed
1 changed files with 7 additions and 7 deletions
|
@ -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',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue