2025-06-13 14:33:21 +02:00
|
|
|
# prometheus_cd::params.pp
|
|
|
|
|
# Module name: prometheus_cd
|
|
|
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
|
|
|
|
# @summary Class holds all parameters for the prometheus_cd module.
|
2025-06-13 15:26:50 +02:00
|
|
|
# @param [String] reqpackage_prom the prometheus package
|
|
|
|
|
# @param [String] reqpackage_ne the node_exporter package
|
|
|
|
|
# @param [String] pkg_ensure which version of the package to install
|
|
|
|
|
# @param [boolean] manage_prometheus whether to manage prometheus
|
|
|
|
|
# @param [boolean] manage_node_exporter whether to manage node exporter
|
2025-06-13 14:33:21 +02:00
|
|
|
##############################################################################
|
2025-06-13 14:37:00 +02:00
|
|
|
class prometheus_cd::params (
|
2025-06-13 15:26:50 +02:00
|
|
|
String $reqpackage_prom = 'prometheus',
|
|
|
|
|
String $reqpackage_ne = 'node_exporter',
|
|
|
|
|
String $pkg_ensure = 'present',
|
|
|
|
|
Boolean $manage_prometheus = false,
|
|
|
|
|
Boolean $manage_node_exporter = false,
|
2025-06-13 14:33:21 +02:00
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
# includes must be last
|
|
|
|
|
include prometheus_cd::main::config
|
|
|
|
|
}
|