aboutsummaryrefslogtreecommitdiff
path: root/manifests/btmp.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-17 20:13:20 +0200
committerintrigeri <intrigeri@boum.org>2010-10-17 20:13:20 +0200
commit7fcec706fd74b5f958e74d7960640ff5ec8b19be (patch)
tree2fbe542b5b7c9bcd88998736f0b84422234ce929 /manifests/btmp.pp
parent96a39b816a4922cb9e710e6bdd044125708d8411 (diff)
downloadpuppet-loginrecords-7fcec706fd74b5f958e74d7960640ff5ec8b19be.tar.gz
puppet-loginrecords-7fcec706fd74b5f958e74d7960640ff5ec8b19be.tar.bz2
Support disabling btmp and wtmp.
Diffstat (limited to 'manifests/btmp.pp')
-rw-r--r--manifests/btmp.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/btmp.pp b/manifests/btmp.pp
new file mode 100644
index 0000000..4d40654
--- /dev/null
+++ b/manifests/btmp.pp
@@ -0,0 +1,7 @@
+class loginrecords::btmp::disable {
+ file { "$btmp_file": ensure => 'absent' }
+}
+
+class loginrecords::btmp::enable {
+ file { "$btmp_file": ensure => 'present' }
+}