Browse Source

Removed the require => parameters on the file resources for check plugins since a check plugin command definition won't necessarily require the Nagios monitoring plugin packages.

Nick Chappell 9 years ago
parent
commit
9b3abbd2ff
1 changed files with 0 additions and 3 deletions
  1. 0 3
      manifests/checkplugin.pp

+ 0 - 3
manifests/checkplugin.pp

@@ -30,7 +30,6 @@ define icinga2::checkplugin (
       group   => $checkplugin_target_file_group,
       mode    => $checkplugin_target_file_mode,
       content => template("${checkplugin_template_module}/${checkplugin_template}"),
-      require => Package[$icinga2::params::icinga2_client_packages],
     }
   }
   elsif $checkplugin_file_distribution_method == 'source' {
@@ -39,7 +38,6 @@ define icinga2::checkplugin (
       group   => $checkplugin_target_file_group,
       mode    => $checkplugin_target_file_mode,
       source  => $checkplugin_source_file,
-      require => Package[$icinga2::params::icinga2_client_packages],
     }
   }
   elsif $checkplugin_file_distribution_method == 'inline' {
@@ -48,7 +46,6 @@ define icinga2::checkplugin (
       group   => $checkplugin_target_file_group,
       mode    => $checkplugin_target_file_mode,
       content => $checkplugin_source_inline,
-      require => Package[$icinga2::params::icinga2_client_packages],
     }
   }
   else {