aboutsummaryrefslogtreecommitdiff
path: root/manifests/faillog/disable.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/faillog/disable.pp
parent868c2bee3b8c77a01bdd2b003c0560c3006a0f8f (diff)
downloadpuppet-loginrecords-43cba80d2ede774ecf91cb26531ecbca0f097551.tar.gz
puppet-loginrecords-43cba80d2ede774ecf91cb26531ecbca0f097551.tar.bz2
linting according to puppet-lint
Diffstat (limited to 'manifests/faillog/disable.pp')
-rw-r--r--manifests/faillog/disable.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/faillog/disable.pp b/manifests/faillog/disable.pp
index c05e6bc..4e1df4e 100644
--- a/manifests/faillog/disable.pp
+++ b/manifests/faillog/disable.pp
@@ -1,9 +1,10 @@
+# do not log any faillog
class loginrecords::faillog::disable inherits loginrecords::faillog::enable{
Replace['loginrecords-faillog']{
- pattern => '^FAILLOG_ENAB[[:space:]]+yes$',
- replacement => 'FAILLOG_ENAB no',
+ pattern => '^FAILLOG_ENAB[[:space:]]+yes$',
+ replacement => "FAILLOG_ENAB\tno",
}
Line['loginrecords-faillog']{
- line => 'FAILLOG_ENAB no',
+ line => "FAILLOG_ENAB\tno",
}
}