From 80aa38498bebf8b3785d18d144563cde8094caaa Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Wed, 10 Apr 2019 20:20:56 +0200 Subject: [PATCH] adds firewall control --- Gemfile | 3 ++- manifests/init.pp | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 991761c..2cfb945 100644 --- a/Gemfile +++ b/Gemfile @@ -8,11 +8,12 @@ gem 'puppet-lint' gem 'facter' gem 'rspec-puppet' gem 'yard' - gem 'puppet-strings', '< 2.0.0' +gem 'puppet-strings', '< 2.0.0' gem 'rake' gem 'semantic_puppet' gem 'rgen' gem 'public_suffix', '<= 2.0.5' +gem 'parallel', '<= 1.13.0' # rspec must be v2 for ruby 1.8.7 if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9' diff --git a/manifests/init.pp b/manifests/init.pp index cdaf323..23997b8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,5 +21,10 @@ # @summary Class initialises the cd_fail2ban module. ############################################################################## class cd_fail2ban { + include cd_fail2ban::params + + resources { 'firewall': + purge => true + } }