Last active
July 7, 2020 17:34
-
-
Save adamenger/e60a0a2f0334f05f72be to your computer and use it in GitHub Desktop.
Revisions
-
adamenger revised this gist
Nov 9, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ client_key "#{knife[:chef_repo_path]}/#{ENV['USER']}.pem" validation_client_name "chef-validator" validation_key "#{knife[:chef_repo_path]}/chef-validator.pem" chef_server_url "https://chef.example.com/organizations/#{ENV['ORGNAME']}" cache_type 'BasicFile' cache_options( :path => "#{knife[:chef_repo_path]}/checksums" ) cookbook_path ["~/example.com/cookbooks"] -
adamenger created this gist
Oct 30, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ knife[:chef_repo_path] = "#{ENV['HOME']}/.chef" current_dir = File.dirname(__FILE__) log_level :info log_location STDOUT node_name ENV['USER'] client_key "#{knife[:chef_repo_path]}/#{ENV['USER']}.pem" validation_client_name "chef-validator" validation_key "#{knife[:chef_repo_path]}/chef-validator.pem" chef_server_url "https://chef.example.com" cache_type 'BasicFile' cache_options( :path => "#{knife[:chef_repo_path]}/checksums" ) cookbook_path ["~/example.com/cookbooks"] # path to environment files environment_path "#{knife[:chef_repo_path]}/environments" # Path to encrypted data bag and secret file knife[:secret_file] = "/etc/chef/encrypted_data_bag_secret" knife[:aws_access_key_id] = ENV['AWS_ACCESS_KEY_ID'] knife[:aws_secret_access_key] = ENV['AWS_SECRET_ACCESS_KEY']