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
@@ -4,6 +4,7 @@ hiera_include:
- frrouting
- profiles::ceph::node
- profiles::ceph::client
- exporters::frr_exporter
# FIXME: puppet-python wants to try manage python-dev, which is required by the ceph package
python::manage_dev_package: false
@@ -90,7 +91,14 @@ networking::interfaces:
netmask: 255.255.255.255
mtu: 1500
# consul
profiles::consul::client::node_rules:
- resource: service
segment: frr_exporter
disposition: write
# frrouting
exporters::frr_exporter::enable: true
frrouting::ospfd_router_id: "%{hiera('networking_loopback0_ip')}"
frrouting::ospfd_redistribute:
- connected