summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2015-04-14 13:59:51 +0200
committerJohan Lundberg <lundberg@nordu.net>2015-04-14 13:59:51 +0200
commita8a6b9476a886a707d5f9193cec503effc414969 (patch)
tree76d2e03a5cc4d8b2d64702ad732bf5f23a376e42 /global/overlay/etc/puppet/manifests
parent2be3174df953288ab40a7dbc29998657a07c1c83 (diff)
Added fail2ban to sto-tug-kvm2.sunet-ops-2015-04-14-v22
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index f13360d..d447b07 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -697,7 +697,7 @@ node 'cdr1.sunet.se' {
}
node 'sto-tug-kvm2.swamid.se' {
- #class { 'fail2ban': }
+ class { 'fail2ban': }
package {'nagios-nrpe-server':
ensure => 'installed',
} ->
@@ -827,12 +827,12 @@ class fail2ban {
package {'fail2ban': ensure => 'latest'}
augeas { "fail2ban_defaults":
- incl => "/etc/fail2ban/jail.conf",
- lens => "Shellvars.lns",
- changes => [
- 'set bantime "604800"',
- ],
- notify => Service['fail2ban'],
+ incl => "/etc/fail2ban/jail.conf",
+ lens => "Shellvars.lns",
+ changes => [
+ 'set bantime "604800"',
+ ],
+ notify => Service['fail2ban'],
}
}