diff options
Diffstat (limited to 'manifests/wtmp/disable.pp')
-rw-r--r-- | manifests/wtmp/disable.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/wtmp/disable.pp b/manifests/wtmp/disable.pp index c7c2b6d..c974cd9 100644 --- a/manifests/wtmp/disable.pp +++ b/manifests/wtmp/disable.pp @@ -1,3 +1,5 @@ -class loginrecords::wtmp::disable { - file { "$wtmp_file": ensure => 'absent' } +class loginrecords::wtmp::disable inherits loginrecords::wtmp::enable { + File[$wtmp_filer]{ + ensure => 'absent' + } } |