aboutsummaryrefslogtreecommitdiff
path: root/manifests/faillog.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-11-30 00:38:41 +0100
committermh <mh@immerda.ch>2010-11-30 00:38:41 +0100
commitc414928502329b58045b4bfbf234b748a73ba84d (patch)
tree0be9d9ab61026eaa21de3fd168b39c66f9ba26cf /manifests/faillog.pp
parentbf9eb8ef613cc65c26eda754c8212b507fb8d9d6 (diff)
downloadpuppet-loginrecords-c414928502329b58045b4bfbf234b748a73ba84d.tar.gz
puppet-loginrecords-c414928502329b58045b4bfbf234b748a73ba84d.tar.bz2
get rid off import statement
import statements are rather bad and with placing the code in the proper files we can get rid off the statement at all.
Diffstat (limited to 'manifests/faillog.pp')
-rw-r--r--manifests/faillog.pp25
1 files changed, 0 insertions, 25 deletions
diff --git a/manifests/faillog.pp b/manifests/faillog.pp
deleted file mode 100644
index 2ec54c4..0000000
--- a/manifests/faillog.pp
+++ /dev/null
@@ -1,25 +0,0 @@
-class loginrecords::faillog::enable {
- replace { 'loginrecords-faillog-enable':
- file => $login_defs_file,
- pattern => '^FAILLOG_ENAB[[:space]]+no$',
- replacement => 'FAILLOG_ENAB yes',
- }
- append_if_no_such_line { 'loginrecords-faillog-enable':
- file => $login_defs_file,
- line => 'FAILLOG_ENAB yes',
- require => Replace['loginrecords-faillog-enable'],
- }
-}
-
-class loginrecords::faillog::disable {
- replace { 'loginrecords-faillog-disable':
- file => $login_defs_file,
- pattern => '^FAILLOG_ENAB[[:space:]]+yes$',
- replacement => 'FAILLOG_ENAB no',
- }
- append_if_no_such_line { 'loginrecords-faillog-disable':
- file => $login_defs_file,
- line => 'FAILLOG_ENAB no',
- require => Replace['loginrecords-faillog-disable'],
- }
-}