Wrapped the server plugin install in an if statement so that installing the plugins packages depends on the parameter being set to true.
This commit is contained in:
parent
507fc377ff
commit
4d5c93d32a
1 changed files with 6 additions and 4 deletions
|
@ -75,10 +75,12 @@ class icinga2::server::install::packages inherits icinga2::server {
|
||||||
provider => $package_provider,
|
provider => $package_provider,
|
||||||
}
|
}
|
||||||
|
|
||||||
#Install the Nagios plugins packages:
|
if $server_install_nagios_plugins == true {
|
||||||
package {$icinga2_server_plugin_packages:
|
#Install the Nagios plugins packages:
|
||||||
ensure => installed,
|
package {$icinga2_server_plugin_packages:
|
||||||
provider => $package_provider,
|
ensure => installed,
|
||||||
|
provider => $package_provider,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#Pick the right DB lib package name based on the database type the user selected:
|
#Pick the right DB lib package name based on the database type the user selected:
|
||||||
|
|
Loading…
Reference in a new issue