From de7c639cd62b0ebfeae419423212d48bf01fee98 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Wed, 10 Apr 2019 20:23:41 +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 3d662cc..c8d9f03 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,5 +21,10 @@ # @summary Class initializes the cd_haproxy module. ############################################################################## class cd_haproxy { + include cd_haproxy::params + + resources { 'firewall': + purge => true + } }