Skip to content

Instantly share code, notes, and snippets.

@erikh
Last active December 15, 2015 09:39
Show Gist options
  • Save erikh/5239560 to your computer and use it in GitHub Desktop.
Save erikh/5239560 to your computer and use it in GitHub Desktop.
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