chef-cookbooks / iptables

Development repository for Chef Cookbook iptables
https://supermarket.chef.io/cookbooks/iptables
Apache License 2.0
102 stars 141 forks source link

Expand allowed data types for rule properties #113

Closed bmhughes closed 4 years ago

bmhughes commented 4 years ago

Description

The current rule resource can't be trivially wrapped from role node attributes as you need to pass a symbol to ip_version and protocol, also protocol numbers are unable to be used.

As the resulting string is built from string interpolation anyway I can't see an issue in allowing more data types to be used.

Issues Resolved

Check List

tas50 commented 4 years ago

@bmhughes can you rebase this. You can leave out the version bump too. Our tooling handles that.

bmhughes commented 4 years ago

Done

tas50 commented 4 years ago

This makes life a bit easier. Thanks