Created
February 24, 2020 22:50
-
-
Save jmassardo/ca9c8d56ed1f251f2fb1e4dea642e46e to your computer and use it in GitHub Desktop.
Sample knife.rb or config.rb for Chef
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
current_dir = File.dirname(__FILE__) | |
log_level :info | |
log_location STDOUT | |
node_name "YOUR_CHEF_SERVER_USERNAME" | |
client_key "#{current_dir}/#{node_name}.pem" | |
chef_server_url "https://CHEF_SERVER_FQDN/organizations/CHEF_ORG_SHORT_NAME" | |
cookbook_path ["#{current_dir}/../cookbooks"] | |
#ssl_verify_mode :verify_none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment