aboutsummaryrefslogtreecommitdiff
path: root/manifests/faillog/disable.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/faillog/disable.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/faillog/disable.pp')
-rw-r--r--manifests/faillog/disable.pp9
1 files changed, 3 insertions, 6 deletions
diff --git a/manifests/faillog/disable.pp b/manifests/faillog/disable.pp
index c05e6bc..c55e39e 100644
--- a/manifests/faillog/disable.pp
+++ b/manifests/faillog/disable.pp
@@ -1,9 +1,6 @@
+# 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',
- }
- Line['loginrecords-faillog']{
- line => 'FAILLOG_ENAB no',
+ File_line['loginrecords-faillog']{
+ line => "FAILLOG_ENAB\tno",
}
}