aboutsummaryrefslogtreecommitdiff
path: root/manifests/wtmp.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/wtmp.pp')
-rw-r--r--manifests/wtmp.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/wtmp.pp b/manifests/wtmp.pp
new file mode 100644
index 0000000..36cea0e
--- /dev/null
+++ b/manifests/wtmp.pp
@@ -0,0 +1,7 @@
+class loginrecords::wtmp::disable {
+ file { "$wtmp_file": ensure => 'absent' }
+}
+
+class loginrecords::wtmp::enable {
+ file { "$wtmp_file": ensure => 'present' }
+}