summaryrefslogtreecommitdiff
path: root/global/overlay/etc
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 4c4d5d0..218f69b 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -786,6 +786,21 @@ class entropyserver {
}
}
+class fail2ban {
+
+ include augeas
+
+ package {'fail2ban': ensure => 'latest'}
+ augeas { "fail2ban_defaults":
+ incl => "/etc/fail2ban/jail.conf",
+ lens => "Shellvars.lns",
+ changes => [
+ 'set bantime "604800"',
+ ],
+ notify => Service['fail2ban'],
+ }
+}
+
class quantis {
apt::ppa {'ppa:ndn/quantispci': }
package {'quantispci-dkms': }