summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests/cosmos-site.pp
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-04-14 14:07:38 +0200
committerLeif Johansson <leifj@sunet.se>2015-04-14 14:07:38 +0200
commit30e90b53524d82b781b848dc5c7ad74fdc16804c (patch)
tree8a4a0312f804cffe00cabbfb211cd48301645d77 /global/overlay/etc/puppet/manifests/cosmos-site.pp
parente2b98c236d17bd1d4a324d3707a22e8a6f2e0b1e (diff)
parentb1e8c089f75c77362b15423b17b8bad9d7fec0fb (diff)
Merge branch 'master' of git.nordu.net:sunet-opssunet-ops-2015-04-14-v25
Diffstat (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index eb753f7..3fe5100 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -825,7 +825,12 @@ class fail2ban {
include augeas
- package {'fail2ban': ensure => 'latest'}
+ package {'fail2ban':
+ ensure => 'latest'
+ } ->
+ service {'fail2ban':
+ ensure => 'running'
+ } ->
augeas { "fail2ban_defaults":
incl => "/etc/fail2ban/jail.conf",
lens => "Shellvars.lns",