From 45bac461f9a66d1e6722d44ee27e9b11df06899f Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 14 Apr 2015 14:04:42 +0200 Subject: Added service fail2ban --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'global/overlay/etc') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index d447b07..7e9b6c7 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", -- cgit v1.1