diff options
author | Tim Meusel <tim@bastelfreak.de> | 2021-02-09 12:18:46 +0100 |
---|---|---|
committer | Tim Meusel <tim@bastelfreak.de> | 2021-02-09 12:20:41 +0100 |
commit | 26421b720ed8bf1c9588587764fba938130b3879 (patch) | |
tree | 069be3a97157c992b06b8d10247335490b9c92ce /manifests | |
parent | 067d9f98ad2a88eacc7401cbd3fc3a6fb446de5b (diff) | |
download | puppet-ferm-26421b720ed8bf1c9588587764fba938130b3879.tar.gz puppet-ferm-26421b720ed8bf1c9588587764fba938130b3879.tar.bz2 |
drop unneeded manage_initfile param
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/install.pp | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 0484995..9317fbf 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -29,7 +29,6 @@ # # @param manage_service Disable/Enable the management of the ferm daemon # @param manage_configfile Disable/Enable the management of the ferm default config -# @param manage_initfile Disable/Enable the management of the ferm init script for RedHat-based OS # @param configfile Path to the config file # @param configdirectory Path to the directory where the module stores ferm configuration files # @param forward_disable_conntrack Enable/Disable the generation of conntrack rules for the FORWARD chain @@ -55,7 +54,6 @@ class ferm ( Stdlib::Absolutepath $configdirectory, Boolean $manage_service = false, Boolean $manage_configfile = false, - Boolean $manage_initfile = false, Boolean $forward_disable_conntrack = true, Boolean $output_disable_conntrack = true, Boolean $input_disable_conntrack = false, diff --git a/manifests/install.pp b/manifests/install.pp index c61a194..c27cedf 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -42,14 +42,4 @@ class ferm::install { fail("unexpected install_method ${ferm::install_method}") } } - - if $ferm::manage_initfile { - if $facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'], '6') <= 0 { - file { '/etc/init.d/ferm': - ensure => 'file', - mode => '0755', - source => "puppet:///modules/${module_name}/ferm", - } - } - } } |