diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-17 20:13:20 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-17 20:13:20 +0200 |
commit | 7fcec706fd74b5f958e74d7960640ff5ec8b19be (patch) | |
tree | 2fbe542b5b7c9bcd88998736f0b84422234ce929 /manifests/wtmp.pp | |
parent | 96a39b816a4922cb9e710e6bdd044125708d8411 (diff) | |
download | puppet-loginrecords-7fcec706fd74b5f958e74d7960640ff5ec8b19be.tar.gz puppet-loginrecords-7fcec706fd74b5f958e74d7960640ff5ec8b19be.tar.bz2 |
Support disabling btmp and wtmp.
Diffstat (limited to 'manifests/wtmp.pp')
-rw-r--r-- | manifests/wtmp.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/wtmp.pp b/manifests/wtmp.pp new file mode 100644 index 0000000..36cea0e --- /dev/null +++ b/manifests/wtmp.pp @@ -0,0 +1,7 @@ +class loginrecords::wtmp::disable { + file { "$wtmp_file": ensure => 'absent' } +} + +class loginrecords::wtmp::enable { + file { "$wtmp_file": ensure => 'present' } +} |