Puppet Class: profile::prometheus::pdns_exporter
- Defined in:
- modules/profile/manifests/prometheus/pdns_exporter.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'modules/profile/manifests/prometheus/pdns_exporter.pp', line 1
class profile::prometheus::pdns_exporter {
# Exporter written in Python 2, for Bullseye hosts use the built-in
# metrics endpoint in newer PowerDNS versions (not available in Buster sadly)
debian::codename::require::max('buster')
ensure_packages('prometheus-pdns-exporter')
service { 'prometheus-pdns-exporter':
ensure => running,
}
profile::auto_restarts::service { 'prometheus-pdns-exporter': }
}
|