chef-boneyard / windows_firewall

Chef cookbook to configure Windows Firewall
Apache License 2.0
6 stars 9 forks source link

Configuration of firewall rules are not idempotent #9

Closed mattstratton closed 5 years ago

mattstratton commented 9 years ago

Firewall rules are created if missing, but not updated if their parameters do not match the ones declared in the attributes.

mattstratton commented 9 years ago

There are a couple ways to handle this.

Could add a :config action, and then you would do :add and/or :config depending on what you wanted (this pattern is used in the opscode-cookbooks/iis cookbook

another option is to add an action called :create_if_missing. Should talk to find out what is the best pattern.

drahamim commented 8 years ago

any updates on this? or should I just use a different cookbook.

lynx44 commented 8 years ago

I'm happy to accept pull requests regarding this issue. At this point in time, I'm not able to dedicate much time to this project due to other priorities, but any contributions would be considered and greatly appreciated!

tas50 commented 5 years ago

This will be resolved in the next release