diff options
author | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-02-02 00:42:12 +0000 |
---|---|---|
committer | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-02-02 00:42:12 +0000 |
commit | 2f57f2176f3c123b313cff87b06d44de2213e5e3 (patch) | |
tree | 91dbb3325ef73b5f0ab334dec3953d12a354f484 | |
parent | 904bdd65ed7eb338bfdd63d0466a646397a0af89 (diff) | |
download | puppet-sshd-2f57f2176f3c123b313cff87b06d44de2213e5e3.tar.gz puppet-sshd-2f57f2176f3c123b313cff87b06d44de2213e5e3.tar.bz2 |
fixed language problem
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@736 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
-rw-r--r-- | manifests/init.pp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 75029b8..e5b5aae 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -15,19 +15,16 @@ class sshd { } default: { service{'sshd': + name => $operatingsystem ? { + debian => 'ssh', + ubuntu => 'ssh', + default => 'sshd', + }, enable => true, ensure => running, require => Package[openssh], } - case $operatingsystem { - debian,ubuntu: { - service{sshd: - name => 'ssh', - } - } - } - package{openssh: name => $operatingsystem ? { debian: => 'openssh-server', |