diff options
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", - } - } - } } |