diff options
author | intrigeri <intrigeri@boum.org> | 2010-12-15 10:26:51 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-12-15 10:28:25 +0100 |
commit | f35c84dc309a09ed60b56d37a206c7c59ab6f354 (patch) | |
tree | 1c349432d2fd37a3987494f9d98632b35951b89b | |
parent | e6c049751e571e0e86be3281ac11a669499ca0b2 (diff) | |
download | puppet-loginrecords-f35c84dc309a09ed60b56d37a206c7c59ab6f354.tar.gz puppet-loginrecords-f35c84dc309a09ed60b56d37a206c7c59ab6f354.tar.bz2 |
Explicitly prevent removed login records files to be backup'd.
The whole idea of this module is to avoid keeping the information that is
usually stored in these files, rather than moving it to a Puppet fileserver.
-rw-r--r-- | manifests/btmp/disable.pp | 3 | ||||
-rw-r--r-- | manifests/lastlog/disable.pp | 1 | ||||
-rw-r--r-- | manifests/utmp/disable.pp | 3 | ||||
-rw-r--r-- | manifests/wtmp/disable.pp | 3 |
4 files changed, 7 insertions, 3 deletions
diff --git a/manifests/btmp/disable.pp b/manifests/btmp/disable.pp index 7a27126..f32d36a 100644 --- a/manifests/btmp/disable.pp +++ b/manifests/btmp/disable.pp @@ -1,6 +1,7 @@ class loginrecords::btmp::disable inherits loginrecords::btmp::enable { File[$btmp_file]{ - ensure => 'absent' + ensure => 'absent', + backup => false, } } diff --git a/manifests/lastlog/disable.pp b/manifests/lastlog/disable.pp index e143477..69e13d5 100644 --- a/manifests/lastlog/disable.pp +++ b/manifests/lastlog/disable.pp @@ -5,5 +5,6 @@ class loginrecords::lastlog::disable inherits loginrecords::lastlog::enable { } File['/var/log/lastlog']{ ensure => absent, + backup => false, } } diff --git a/manifests/utmp/disable.pp b/manifests/utmp/disable.pp index 5b4ce07..d01d44b 100644 --- a/manifests/utmp/disable.pp +++ b/manifests/utmp/disable.pp @@ -1,5 +1,6 @@ class loginrecords::utmp::disable inherits loginrecords::utmp::enable { File[$utmp_file]{ - ensure => 'absent' + ensure => 'absent', + backup => false, } } diff --git a/manifests/wtmp/disable.pp b/manifests/wtmp/disable.pp index e3d5228..0d53e57 100644 --- a/manifests/wtmp/disable.pp +++ b/manifests/wtmp/disable.pp @@ -1,5 +1,6 @@ class loginrecords::wtmp::disable inherits loginrecords::wtmp::enable { File[$wtmp_file]{ - ensure => 'absent' + ensure => 'absent', + backup => false, } } |