aboutsummaryrefslogtreecommitdiff
path: root/manifests/utmp/unprotect.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-02 11:43:18 +0100
committermh <mh@immerda.ch>2013-01-02 11:43:18 +0100
commit43cba80d2ede774ecf91cb26531ecbca0f097551 (patch)
tree51f3dbde6868f456def5652ea4076a06263a33f1 /manifests/utmp/unprotect.pp
parent868c2bee3b8c77a01bdd2b003c0560c3006a0f8f (diff)
downloadpuppet-loginrecords-43cba80d2ede774ecf91cb26531ecbca0f097551.tar.gz
puppet-loginrecords-43cba80d2ede774ecf91cb26531ecbca0f097551.tar.bz2
linting according to puppet-lint
Diffstat (limited to 'manifests/utmp/unprotect.pp')
-rw-r--r--manifests/utmp/unprotect.pp9
1 files changed, 6 insertions, 3 deletions
diff --git a/manifests/utmp/unprotect.pp b/manifests/utmp/unprotect.pp
index 9da7517..54d821b 100644
--- a/manifests/utmp/unprotect.pp
+++ b/manifests/utmp/unprotect.pp
@@ -1,8 +1,11 @@
+# manage the utmp file
class loginrecords::utmp::unprotect(
$utmp_file = '/var/run/utmp'
){
- file{$utmp_file:
- ensure => 'present',
- owner => 'root', group => 'utmp', mode => 664;
+ file{$loginrecords::utmp::unprotect::utmp_file:
+ ensure => 'present',
+ owner => 'root',
+ group => 'utmp',
+ mode => '0664';
}
}