added Debian specific stuff
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@729 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
parent
cdafb27013
commit
9ebb3866e4
1 changed files with 5 additions and 1 deletions
|
@ -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 ? {
|
||||
|
|
Loading…
Reference in a new issue