feat: add frr_exporter class
Build / precommit (pull_request) Successful in 4m56s

- add frr exporter to all nodes running frr
This commit is contained in:
2025-08-03 15:38:13 +10:00
parent 53fabc923b
commit 9deeacce22
10 changed files with 140 additions and 0 deletions
+8
View File
@@ -2,6 +2,7 @@
hiera_include:
- frrouting
- profiles::dhcp::server
- exporters::frr_exporter
# networking
anycast_ip: 198.18.19.18
@@ -19,6 +20,7 @@ networking::interfaces:
mtu: 1500
# frrouting
exporters::frr_exporter::enable: true
frrouting::ospfd_router_id: "%{facts.networking.ip}"
frrouting::ospfd_redistribute:
- connected
@@ -30,6 +32,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: