aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-01-02 19:40:42 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-01-02 19:40:42 +0000
commit6f59d15abfecfe92ea8efa56089389e9c82d3890 (patch)
tree5c9a12c18f0d2ef7ffa1b94c42934e154651b3ca /manifests/init.pp
parent58304b2f2711ea85f85603a03521e64d962f462d (diff)
downloadpuppet-sshd-6f59d15abfecfe92ea8efa56089389e9c82d3890.tar.gz
puppet-sshd-6f59d15abfecfe92ea8efa56089389e9c82d3890.tar.bz2
removed autoimports
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@346 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp32
1 files changed, 16 insertions, 16 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 15b4720..40ffd1b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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 (