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

@@ -46,18 +46,5 @@ class confdroid_prometheus::main::dirs (
ensure => absent,
}
}
# binary install directory
if $install_from_binary == true {
file { $ps_install_dir:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
selrange => s0,
selrole => object_r,
seltype => usr_,
seluser => unconfined_u,
}
}
}
}

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,