Skip to content

Commit

Permalink
kafka: add changeprop to firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Mar 24, 2024
1 parent 035d291 commit 17f186e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/role/manifests/kafka.pp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}

$firewall_rules_str = join(
query_facts('Class[Role::Eventgate]', ['networking'])
query_facts('Class[Role::Changeprop] or Class[Role::Eventgate]', ['networking'])
.map |$key, $value| {
if ( $value['networking']['interfaces']['ens19'] and $value['networking']['interfaces']['ens18'] ) {
"${value['networking']['interfaces']['ens19']['ip']} ${value['networking']['interfaces']['ens18']['ip']} ${value['networking']['interfaces']['ens18']['ip6']}"
Expand Down

0 comments on commit 17f186e

Please sign in to comment.