This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
knife[:solo_path] = 'chef-solo' # relative to $HOME, but can be '/tmp/chef-solo' etc. | |
# knife-solo sets the KNIFE_SOLO variable when runnin on the work station | |
solo_path = ENV['KNIFE_SOLO'] ? knife[:solo_path] : File.expand_path(File.dirname(__FILE__)) | |
data_bag_path File.join(solo_path, 'data_bags') | |
encrypted_data_bag_secret File.join(solo_path, 'data_bag_key') | |
cookbook_path [ File.join(solo_path, "site-cookbooks"), | |
File.join(solo_path, "cookbooks") ] | |
role_path File.join(solo_path, "roles") |