diff options
author | Micah Anderson <micah@riseup.net> | 2008-10-27 16:20:26 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-10-27 16:20:26 -0400 |
commit | 49d840dab4c7cfeff8ca21d1ef0728832046f205 (patch) | |
tree | 7a58422762bc40f2e2779f44018d537ce7534ed7 | |
parent | 1f25b213e1ff1c953dac53f02d862612a5e09c0f (diff) | |
download | puppet-sshd-49d840dab4c7cfeff8ca21d1ef0728832046f205.tar.gz puppet-sshd-49d840dab4c7cfeff8ca21d1ef0728832046f205.tar.bz2 |
lsbdistcodename is the proper variable to check for if the system is debian or lenny
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d4d775f..32b7109 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -254,7 +254,7 @@ class sshd::debian inherits sshd::linux { name => 'openssh-server', } - $ssh_hasrestart = $debian_version ? { + $ssh_hasrestart = $lsbdistcodename ? { etch => false, lenny => true, default => false |