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
solo_path = File.dirname(__FILE__) | |
knife[:solo_path] = solo_path | |
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") |
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
solo_path = "~/chef_solo" | |
knife[:solo_path] = solo_path | |
data_bag_path File.expand_path(File.join(solo_path, 'data_bags')) | |
encrypted_data_bag_secret File.expand_path(File.join(solo_path, 'data_bag_key')) | |
cookbook_path [ File.expand_path(File.join(solo_path, "site-cookbooks")), | |
File.expand_path(File.join(solo_path, "cookbooks")) ] | |
role_path File.expand_path(File.join(solo_path, "roles")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment