feat: setup metrics agents
- set puppet::puppetdb_api class to export puppetdb - set infra::dns::server class to export bind - set all to export node and systemd metrics
This commit is contained in:
@@ -17,11 +17,15 @@ class profiles::dns::server (
|
||||
|
||||
# setup base bind server
|
||||
class { 'bind':
|
||||
forwarders => $use_forwarders,
|
||||
dnssec => $dnssec,
|
||||
version => 'Controlled by Puppet',
|
||||
forwarders => $use_forwarders,
|
||||
dnssec => $dnssec,
|
||||
version => 'Controlled by Puppet',
|
||||
statistics_port => '8053',
|
||||
}
|
||||
|
||||
# setup bind_exporter
|
||||
include prometheus::bind_exporter
|
||||
|
||||
# if keys, import them
|
||||
$keys.each | $name, $data | {
|
||||
bind::key { $name:
|
||||
|
||||
Reference in New Issue
Block a user