OP#470 add dir
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
# confdroid_prometheus::main::install.pp
|
||||
# Module name: confdroid_prometheus
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||
# @summary Class install binaries for the confdroid_prometheus module.
|
||||
##############################################################################
|
||||
class confdroid_prometheus::main::install (
|
||||
) inherits confdroid_prometheus::params {
|
||||
require confdroid_prometheus::main::yumrepo
|
||||
if $manage_prometheus == true {
|
||||
package { $reqpackage_prom:
|
||||
ensure => $pkg_ensure,
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
if $manage_node_exporter == true {
|
||||
package { $reqpackage_ne:
|
||||
ensure => $pkg_ensure,
|
||||
|
||||
Reference in New Issue
Block a user