summaryrefslogtreecommitdiffstats
path: root/modules/tick/manifests/client/plugin/fail2ban.pp
blob: 0c1ae6aec238ed221f16f3e0168958b974b28160 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class tick::client::plugin::fail2ban {
  tick::client::plugin { "fail2ban":
    opts => {
      use_sudo => true,
      interval => "5m",
      timeout => "2m",
    }
  }

  file { "/etc/sudoers.d/telegraf-fail2ban":
    source => 'puppet:///modules/tick/plugins/fail2ban.sudoers',
    require => Package['sudo'];
  }
}