chr4-cookbooks / iptables-ng

Cookbook to maintain iptables rules and policies on different platforms, respecting the way the os handles these settings.
GNU General Public License v3.0
38 stars 32 forks source link

Resource cloning workaround #64

Closed chr4 closed 8 years ago

chr4 commented 8 years ago

This is another try to workaround the Chef-13 resource cloning issues.

This time removing some convenience features:

The issue with the file resource in the rule provider can't be fixed directly, the previous attemt catching the ResourceNotFound exception lead to issues. Therefore, this workaround uses a random resource identifier (UNIX timestamp + rand(1000)) to work around this.

chr4 commented 8 years ago

/cc @sspans @aalmenar

aalmenar commented 8 years ago

Have you posted a new release to supermarket.chef.io ?

chr4 commented 8 years ago

No, this branch is to test the changes, will release them afterward the merge to master.

aalmenar commented 8 years ago

Have you checked this out ?

https://gist.github.com/danielsdeleo/30a8719901eca6545488

chr4 commented 8 years ago

Which particular section are you reffering to? I skimmed over it and couldn't find a section related to our problem here. Did I miss something?

chr4 commented 8 years ago

Released in v3.0.0