20 lines
621 B
Puppet
20 lines
621 B
Puppet
# confdroid_prometheus::main::install.pp
|
|
# Module name: confdroid_prometheus
|
|
# Author: Arne Teuke (arne_teuke@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 $manage_node_exporter == true {
|
|
package { $reqpackage_ne:
|
|
ensure => $pkg_ensure,
|
|
}
|
|
}
|
|
}
|