feat: add frr_exporter class (#369)

- add frr exporter to all nodes running frr

Reviewed-on: #369
This commit was merged in pull request #369.
This commit is contained in:
2025-08-03 16:15:29 +10:00
parent 53fabc923b
commit 75ca7a5685
10 changed files with 140 additions and 0 deletions
+8
View File
@@ -1,6 +1,7 @@
---
hiera_include:
- frrouting
- exporters::frr_exporter
profiles::dns::master::ns_role: roles::infra::dns::master
profiles::dns::master::use_ns: region
@@ -178,6 +179,7 @@ networking::interfaces:
mtu: 1500
# frrouting
exporters::frr_exporter::enable: true
frrouting::ospfd_router_id: "%{facts.networking.ip}"
frrouting::ospfd_redistribute:
- connected
@@ -189,6 +191,12 @@ frrouting::ospfd_interfaces:
frrouting::daemons:
ospfd: true
# consul
profiles::consul::client::node_rules:
- resource: service
segment: frr_exporter
disposition: write
# additional repos
profiles::yum::global::repos:
frr-extras: