Last active
December 15, 2015 09:39
-
-
Save erikh/5239560 to your computer and use it in GitHub Desktop.
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
log_level :info | |
log_location STDOUT | |
node_name 'test-user' | |
client_key 'admin.pem' | |
validation_client_name 'chef-validator' | |
validation_key 'validation.pem' | |
cache_type 'BasicFile' | |
cache_options( :path => 'checksums' ) | |
chef_server_url 'https://test1' | |
ssl_verify_mode :verify_none | |
class Net::HTTP | |
unless @knife_patched | |
alias original_initialize initialize | |
def initialize(*args) | |
original_initialize(*args) | |
self.ssl_version = :TLSv1 | |
end | |
@knife_patched = true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment