Skip to content

Commit

Permalink
Update firewall.pp to replace action with jump
Browse files Browse the repository at this point in the history
https://forge.puppet.com/modules/puppetlabs/firewall/readme#migration-path-to-v700

The action attribute within the firewall type has been removed as it was merely a restricted version of the jump attribute, both of them managing the same function, this being reasoned as a way to enforce the use of generic parameters. From this point the parameters formerly unique to action should now be passed to jump.
  • Loading branch information
justafish authored Jun 11, 2024
1 parent 8abe55d commit 0173272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/firewall.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
assert_private()

firewall { '500 allow Jenkins inbound traffic':
action => 'accept',
jump => 'accept',

Check warning on line 8 in manifests/firewall.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 11, but found it in column 12) (check: arrow_alignment)
state => 'NEW',

Check warning on line 9 in manifests/firewall.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 11, but found it in column 12) (check: arrow_alignment)
dport => [jenkins_port()],

Check warning on line 10 in manifests/firewall.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 11, but found it in column 12) (check: arrow_alignment)
proto => 'tcp',

Check warning on line 11 in manifests/firewall.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indentation of => is not properly aligned (expected in column 11, but found it in column 12) (check: arrow_alignment)
Expand Down

0 comments on commit 0173272

Please sign in to comment.