Skip to content

Commit

Permalink
Merge pull request #1174 from chef/ssd/default-to-backcompat
Browse files Browse the repository at this point in the history
Set insecure_addon_compat to true by default
  • Loading branch information
srenatus authored Mar 24, 2017
2 parents 135d192 + ec85963 commit 4f1fef6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module PrivateChef

registered_extensions Mash.new

insecure_addon_compat false
insecure_addon_compat true

class << self
def from_file(filename)
Expand Down Expand Up @@ -571,7 +571,8 @@ def warn_if_cred_mismatch(opts)
#
def save_credentials_to_config
credentials.legacy_credentials_hash.each do |service, creds|
next if service == "chef-server"
# Ignore secrets added by add-ons and the keys
next if PrivateChef[service].nil?
creds.each do |name, value|
PrivateChef[service][name] ||= value
end
Expand Down

0 comments on commit 4f1fef6

Please sign in to comment.