diff options
author | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-01-02 18:02:20 +0000 |
---|---|---|
committer | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-01-02 18:02:20 +0000 |
commit | 58304b2f2711ea85f85603a03521e64d962f462d (patch) | |
tree | 5387ecdb05f94be4cdc1435c4188fba7b39e36c3 /manifests | |
parent | 9c78ba9f32538070540e92b1bbd1799d217b4c60 (diff) | |
download | puppet-sshd-58304b2f2711ea85f85603a03521e64d962f462d.tar.gz puppet-sshd-58304b2f2711ea85f85603a03521e64d962f462d.tar.bz2 |
added barricada
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@343 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index c5386be..15b4720 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,13 +5,16 @@ modules_dir { "sshd": } class sshd { + + + service{'sshd': enable => true, ensure => running, require => Package[openssh], } - package{ssh: + package{openssh: name => $operatingsystem ? { centos => openssh-server, default => openssh, |