From 8f0f221f0047a3dbea5a17de428f9df66fdb0764 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 14 Apr 2015 15:07:12 +0200 Subject: fail2ban on webcluster --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'global/overlay/etc/puppet/manifests') 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': } } -- cgit v1.1