OP#470reverse
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user