aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.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/init.pp
parent868c2bee3b8c77a01bdd2b003c0560c3006a0f8f (diff)
downloadpuppet-loginrecords-43cba80d2ede774ecf91cb26531ecbca0f097551.tar.gz
puppet-loginrecords-43cba80d2ede774ecf91cb26531ecbca0f097551.tar.bz2
linting according to puppet-lint
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp20
1 files changed, 11 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5c9f800..dd0e48e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,17 +1,19 @@
+# manage how login records are
+# stored on the system
class loginrecords(
- $disable_btmp = true,
- $disable_faillog = true,
- $disable_lastlog = true,
- $protect_utmp = true,
- $disable_wtmp = true,
+ $disable_btmp = true,
+ $disable_faillog = true,
+ $disable_lastlog = true,
+ $protect_utmp = true,
+ $disable_wtmp = true,
$ramdisk_on_var_run = true
){
# Include main class
case $::kernel {
- "Linux": {
- case $::operatingsystem {
- "debian", "ubuntu": { include loginrecords::debian }
- default: { include loginrecords::base }
+ Linux: {
+ case $::operatingsystem {
+ debian, ubuntu: { include loginrecords::debian }
+ default: { include loginrecords::base }
}
}
default: {