aboutsummaryrefslogtreecommitdiff
path: root/manifests/utmp/unprotect.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-18 12:03:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-18 12:03:04 -0200
commit533b8fbd9dfca345151f146f348496fc2a5fa530 (patch)
treef3486c01a440f628d546beda5b4e4448edaaf1b1 /manifests/utmp/unprotect.pp
parentb0c0b29cf37451cfe7090e2f53197798c5dbba4b (diff)
parented222aced2762800363f4428a26a58e960e22983 (diff)
downloadpuppet-loginrecords-533b8fbd9dfca345151f146f348496fc2a5fa530.tar.gz
puppet-loginrecords-533b8fbd9dfca345151f146f348496fc2a5fa530.tar.bz2
Merge branch 'master' of ssh://labs.riseup.net/shared-loginrecords
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';
}
}