diff options
author | intrigeri <intrigeri@boum.org> | 2011-11-09 19:35:05 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2011-11-09 19:46:44 +0100 |
commit | fdb60047acf69dac300a156958a7e115f185f322 (patch) | |
tree | 18542bd8734223081852e60803362c5abcabeee0 /manifests | |
parent | b8446fb41516f5cc61e8d230802191e891031996 (diff) | |
download | puppet-loginrecords-fdb60047acf69dac300a156958a7e115f185f322.tar.gz puppet-loginrecords-fdb60047acf69dac300a156958a7e115f185f322.tar.bz2 |
Take into account that disabling RAMRUN is not supported since Wheezy.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/debian.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp index e68185b..c20be6c 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -33,7 +33,10 @@ class loginrecords::debian inherits loginrecords::base { if $loginrecords::ramdisk_on_var_run { class{'loginrecords::ramrun::enable': } } else { - class{'loginrecords::ramrun::disable': } + case $lsbdistrelease { + 'lenny','squeeze': { class{'loginrecords::ramrun::disable': } } + default: { err("Disabling RAMRUN is not supported since Wheezy") } + } } } |