diff options
author | Leif Johansson <leifj@sunet.se> | 2015-04-14 15:07:12 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-04-14 15:07:12 +0200 |
commit | 8f0f221f0047a3dbea5a17de428f9df66fdb0764 (patch) | |
tree | 1ed378f578cd52996741fa313d388e2eef254ed5 /global/overlay/etc/puppet/manifests | |
parent | 4970a92cfa45e849e698d82aefc5f2af0fb50215 (diff) |
fail2ban on webclustersunet-ops-2015-04-14-v31
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 6e7fb9c..3aa04c7 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -832,7 +832,8 @@ class fail2ban { ensure => 'running' } augeas { "fail2ban_defaults": - context => "/etc/fail2ban/jail.conf", + incl => "/etc/fail2ban/jail.conf", + lens => "Shellvars.lns", changes => [ 'set bantime "600800"', ], @@ -856,11 +857,12 @@ class webfrontend { class webappserver { class { 'webcommon': } + class { 'fail2ban': } } class webbackend { sunet::etcd_node {'sunetweb': - disco_url => 'https://discovery.etcd.io/53d3ba1275a50941eb30b3f11debb961' + disco_url => 'https://discovery.etcd.io/18a9395c6190ecf075d419e2c13c199b' } class { 'webcommon': } } |