Defined Type: prometheus::pint::config
- Defined in:
- modules/prometheus/manifests/pint/config.pp
Overview
Add a pint configuration snippet
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'modules/prometheus/manifests/pint/config.pp', line 4
define prometheus::pint::config (
Wmflib::Ensure $ensure = 'present',
Optional[Stdlib::Filesource] $source = undef,
Optional[String] $content = undef,
) {
include prometheus::pint
file { "/etc/prometheus/pint.hcl.d/${title}.hcl":
ensure => $ensure,
source => $source,
content => $content,
mode => '0444',
notify => Exec['assemble pint.hcl'],
}
}
|