The knife.rb lets you specify a cookbook_path. I want to get the same effect for roles, environments, and data bags.
I have the following in my knife.rb file current_dir = File.dirname(__FILE__) cookbook_path ["#{current_dir}/../cookbooks"] # the following don't seem to work. :( role_path ["#{current_dir}/../roles"] environment_path ["#{current_dir}/../environments"] data_bag_path ["#{current_dir}/../data_bags"] I remember seeing how to do this somewhere along time ago, but I can’t find the original reference. I have been looking, and I see several references that strongly imply these should work, or something similar like making the object name
plural (roles_path) I have tried several permutations, including statements like knife[:role_path] = …, but nothing seems to work. Is it possible What is the correct format? Thanks in advance. -- Stephen Corbesero, DevOps Engineer Synchronoss - Mobile Innovation for a Connected World |
Archive powered by MHonArc 2.6.16.