removed autoimports
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@346 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
parent
58304b2f27
commit
6f59d15abf
1 changed files with 16 additions and 16 deletions
|
@ -5,27 +5,27 @@
|
|||
modules_dir { "sshd": }
|
||||
|
||||
class sshd {
|
||||
|
||||
|
||||
|
||||
service{'sshd':
|
||||
enable => true,
|
||||
service{'sshd':
|
||||
enable => true,
|
||||
ensure => running,
|
||||
require => Package[openssh],
|
||||
require => $operatingsystem ? {
|
||||
openbsd => '',
|
||||
default => Package[openssh],
|
||||
}
|
||||
}
|
||||
|
||||
package{openssh:
|
||||
name => $operatingsystem ? {
|
||||
centos => openssh-server,
|
||||
default => openssh,
|
||||
},
|
||||
alias => 'openssh',
|
||||
package{openssh:
|
||||
name => $operatingsystem ? {
|
||||
centos => openssh-server,
|
||||
default => openssh,
|
||||
},
|
||||
alias => 'openssh',
|
||||
category => $operatingsystem ? {
|
||||
gentoo => 'net-misc',
|
||||
default => '',
|
||||
},
|
||||
ensure => present,
|
||||
}
|
||||
default => '',
|
||||
},
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
define sshd::sshd_config (
|
||||
|
|
Loading…
Reference in a new issue