hw-cookbooks/red_unicorn — pull request #3 by baldur (2013-04-25 15:04:42+00:00)
Title: fixes values that get passed in as hash

I was getting an error (see below) for values that were passed in as hashes. This will accomodate hash values

ArgumentError
-------------
Attribute to_ary is not defined!

Cookbook Trace:
---------------
/var/cache/chef/cookbooks/red_unicorn/providers/config.rb:60:in `flatten'
/var/cache/chef/cookbooks/red_unicorn/providers/config.rb:60:in `block (2 levels) in class_from_file'
/var/cache/chef/cookbooks/red_unicorn/providers/config.rb:48:in `block in class_from_file'