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:
parent
e3f7adae82
commit
9b3abbd2ff
1 changed files with 0 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue