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...
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