rtkwlf / cookbook-simple-iptables

Simple Chef iptables cookbook
86 stars 63 forks source link

Fix the usage of deprecated feature #78

Closed iroller closed 8 years ago

iroller commented 8 years ago

Should be fine to just use name_attribute here.

Deprecated features used!

  Cannot specify both default and name_property together on property chain of resource simple_iptables_policy. Only one (name_property) will be obeyed. In Chef 13, this will become an error. at 1 location:
    - /var/chef/cache/cookbooks/simple_iptables/resources/policy.rb:3:in `class_from_file'
andrewheald commented 8 years ago

It would be great to have this patch applied, please. I'm getting these warnings all the time.

rtkrruvinskiy commented 8 years ago

Sorry for the delay!

andrewheald commented 8 years ago

Many thanks! Please bump the version to 0.7.4 too.

rtkrruvinskiy commented 8 years ago

@andrewheald I'll cut a new release today.

iroller commented 8 years ago

:+1: thanks

andrewheald commented 8 years ago

Yes, much appreciated! :+1:

rtkrruvinskiy commented 8 years ago

@andrewheald @iroller 0.7.4 is now released