aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp26
1 files changed, 7 insertions, 19 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 3bcf274..9c0a880 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,22 +1,10 @@
-class loginrecords {
-
- # Default settings
- if $disable_btmp == '' {
- $disable_btmp = true
- }
- if $disable_faillog == '' {
- $disable_faillog = true
- }
- if $disable_lastlog == '' {
- $disable_lastlog = true
- }
- if $disable_utmp == '' {
- $disable_utmp = true
- }
- if $disable_wtmp == '' {
- $disable_wtmp = true
- }
-
+class loginrecords(
+ $disable_btmp = true,
+ $disable_faillog = true,
+ $disable_lastlog = true,
+ $disable_utmp = true,
+ $disable_wtmp = true
+){
# Include main class
case $kernel {
"Linux": {