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": }
|
modules_dir { "sshd": }
|
||||||
|
|
||||||
class sshd {
|
class sshd {
|
||||||
|
service{'sshd':
|
||||||
|
enable => true,
|
||||||
|
|
||||||
service{'sshd':
|
|
||||||
enable => true,
|
|
||||||
ensure => running,
|
ensure => running,
|
||||||
require => Package[openssh],
|
require => $operatingsystem ? {
|
||||||
|
openbsd => '',
|
||||||
|
default => Package[openssh],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
package{openssh:
|
package{openssh:
|
||||||
name => $operatingsystem ? {
|
name => $operatingsystem ? {
|
||||||
centos => openssh-server,
|
centos => openssh-server,
|
||||||
default => openssh,
|
default => openssh,
|
||||||
},
|
},
|
||||||
alias => 'openssh',
|
alias => 'openssh',
|
||||||
category => $operatingsystem ? {
|
category => $operatingsystem ? {
|
||||||
gentoo => 'net-misc',
|
gentoo => 'net-misc',
|
||||||
default => '',
|
default => '',
|
||||||
},
|
},
|
||||||
ensure => present,
|
ensure => present,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
define sshd::sshd_config (
|
define sshd::sshd_config (
|
||||||
|
|
Loading…
Reference in a new issue