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

Resolve deprecation warning #79

Closed jescholl closed 7 years ago

jescholl commented 7 years ago

Description

Accessing resource attributes like this has been deprecated and now throws a warning.

Deprecated features used!
  rename lines to new_resource.lines at 1 location:
    - /var/chef/cache/cookbooks/iptables/resources/rule.rb:37:in `block in class_from_file'
   See https://docs.chef.io/deprecations_namespace_collisions.html for further details.

This change resolves the deprecation warning by making the recommended change.

Check List

tas50 commented 7 years ago

Thanks