feat: ensure frr_exporter can read ospf socket
All checks were successful
Build / precommit (pull_request) Successful in 4m44s

- add execute permission to frr socker directory
This commit is contained in:
Ben Vincent 2025-09-13 14:35:30 +10:00
parent 938a6ac990
commit 41a7066ddb

View File

@ -16,6 +16,14 @@ class exporters::frr_exporter (
ensure => installed,
}
# ensure the frr_exporter user can read the directory
file { $socket_dir:
ensure => directory,
owner => 'frr',
group => 'frr',
mode => '0751',
}
# manage the user/group
if $manage_user {
group { $group: