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
@@ -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