Skip to content

Commit

Permalink
Work around upstream bug
Browse files Browse the repository at this point in the history
`puppet-firewalld` needs to have an autorequire on
`firewalld_custom_service` if one is declared.

Closes #25
  • Loading branch information
trevor-vaughan committed Mar 26, 2022
1 parent 39e4e61 commit 69243a7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion manifests/rule.pp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,12 @@
service => $_rich_rule_svc,
action => 'accept',
zone => $_zone,
require => Service['firewalld'],
require => Service['firewalld']
}

# Work around bug in puppet-firewalld
if $_rich_rule_svc {
Firewalld_custom_service[$_rich_rule_svc] => Firewalld_rich_rule[$_unique_name]
}
}
}
Expand Down

0 comments on commit 69243a7

Please sign in to comment.