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.
Description
Accessing resource attributes like this has been deprecated and now throws a warning.
This change resolves the deprecation warning by making the recommended change.
Check List