aboutsummaryrefslogtreecommitdiff
path: root/manifests/utmp/unprotect.pp
diff options
context:
space:
mode:
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';
}
}