On Wednesday, November 28, 2012 at 1:20 AM, Jan Bares wrote:
Hi,I am a bit confused about how I should compare action variable. The action in recipe can be a string or array:route "something" dogateway "gateway"device "eth0"action :add# action [ :add ]endThe route.rb provider includes this code:def generate_config...if resource.action == :addThis condition doesn't work for me because resource.action is always an array no matter how I specify my action in recipe.Is this know bug of Chef 10.12.0?Thank you, Jan
Archive powered by MHonArc 2.6.16.