aboutsummaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-18 12:03:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-18 12:03:04 -0200
commit533b8fbd9dfca345151f146f348496fc2a5fa530 (patch)
treef3486c01a440f628d546beda5b4e4448edaaf1b1 /manifests/debian.pp
parentb0c0b29cf37451cfe7090e2f53197798c5dbba4b (diff)
parented222aced2762800363f4428a26a58e960e22983 (diff)
downloadpuppet-loginrecords-533b8fbd9dfca345151f146f348496fc2a5fa530.tar.gz
puppet-loginrecords-533b8fbd9dfca345151f146f348496fc2a5fa530.tar.bz2
Merge branch 'master' of ssh://labs.riseup.net/shared-loginrecords
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index e68185b..d85b287 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -1,3 +1,4 @@
+# how loginrecords are managed on debian
class loginrecords::debian inherits loginrecords::base {
if $loginrecords::disable_btmp {
@@ -33,7 +34,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: { fail("Disabling RAMRUN is not supported since Wheezy") }
+ }
}
}