bryanwb/chef-ark — pull request #3 by dennybaa (2012-04-17 16:21:58+00:00)
Title: path fixes

Hey Bryan,

I've looked into your cookbook and yeah it's awesome. In my opinion your logic with paths doesn't work quite good or isn't fully implemented yet...
So I made some changes regarding path logic. Namely there's now choice between default recipe attributes and resource attributes.
For example, to get the root_prefix first we try attribute if it explicitly set in the resource block if not we try default value from run_context.node (say defined via node attributes).
What do think of it? Is it good to the way like this?
Also have look at one regex in the code...

Regards,
Denis