adds firewall control

This commit is contained in:
Arne Teuke
2019-04-10 20:20:56 +02:00
parent c6ae746210
commit 80aa38498b
2 changed files with 7 additions and 1 deletions

View File

@@ -8,11 +8,12 @@ gem 'puppet-lint'
gem 'facter' gem 'facter'
gem 'rspec-puppet' gem 'rspec-puppet'
gem 'yard' gem 'yard'
gem 'puppet-strings', '< 2.0.0' gem 'puppet-strings', '< 2.0.0'
gem 'rake' gem 'rake'
gem 'semantic_puppet' gem 'semantic_puppet'
gem 'rgen' gem 'rgen'
gem 'public_suffix', '<= 2.0.5' gem 'public_suffix', '<= 2.0.5'
gem 'parallel', '<= 1.13.0'
# rspec must be v2 for ruby 1.8.7 # rspec must be v2 for ruby 1.8.7
if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9' if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'

View File

@@ -21,5 +21,10 @@
# @summary Class initialises the cd_fail2ban module. # @summary Class initialises the cd_fail2ban module.
############################################################################## ##############################################################################
class cd_fail2ban { class cd_fail2ban {
include cd_fail2ban::params include cd_fail2ban::params
resources { 'firewall':
purge => true
}
} }