aboutsummaryrefslogtreecommitdiff
path: root/manifests/faillog/disable.pp
blob: 4e1df4edefbc6f1ddff9a9ba4376db206769204d (plain)
1
2
3
4
5
6
7
8
9
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\tno",
  }
  Line['loginrecords-faillog']{
    line  => "FAILLOG_ENAB\tno",
  }
}