OP#470reverse

This commit is contained in:
2026-02-27 15:37:49 +01:00
parent 88fe618a5a
commit a16b264886
3 changed files with 2 additions and 24 deletions

View File

@@ -7,16 +7,10 @@ class confdroid_prometheus::main::install (
) inherits confdroid_prometheus::params {
require confdroid_prometheus::main::yumrepo
if $manage_prometheus == true {
if $install_from_binary == false {
package { $reqpackage_prom:
ensure => $pkg_ensure,
}
}
if $install_from_binary == true {
# place function here to install from binary releases, e.g. using the archive module
package { $reqpackage_prom:
ensure => $pkg_ensure,
}
}
if $manage_node_exporter == true {
package { $reqpackage_ne:
ensure => $pkg_ensure,