Skip to content

Commit

Permalink
Merge pull request #744 from mlibrary/patch_prometheus_fw
Browse files Browse the repository at this point in the history
prometheus firewall temp fixup
  • Loading branch information
rrotter authored Nov 6, 2024
2 parents 28d6069 + f7aa994 commit 84c9b9f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions manifests/profile/prometheus.pp
Original file line number Diff line number Diff line change
Expand Up @@ -243,17 +243,24 @@
tag => "${::datacenter}_prometheus_public_ipmi_exporter",
dport => 9290,
;
}

@@firewall {
default:
proto => 'tcp',
source => $address,
state => 'NEW',
action => 'accept',
;

"010 prometheus public node exporter firewall6 ${::hostname} ${address}":
tag => "firewall6-${::datacenter}_prometheus_public_node_exporter",
dport => 9100,
action => 'accept',
;

"010 prometheus public ipmi exporter firewall6 ${::hostname} ${address}":
tag => "firewall6-${::datacenter}_prometheus_public_ipmi_exporter",
dport => 9290,
action => 'accept',
;
}
}
Expand Down

0 comments on commit 84c9b9f

Please sign in to comment.