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.

This commit is contained in:
Nick Chappell 2015-01-15 20:57:10 -08:00
parent e3f7adae82
commit 9b3abbd2ff

View file

@ -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 {