Skip to content

Commit

Permalink
Merge pull request #68 from chef/roy/test-fixie_scripts
Browse files Browse the repository at this point in the history
Roy/test fixie scripts
  • Loading branch information
saghoshprogress committed Sep 20, 2022
2 parents 05ce190 + b02e5a3 commit 9539c7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/chef_fixie/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,14 @@ def example_config

def load_from_pc(dir = "/etc/opscode")
configdir = Pathname.new(dir)
puts "Loading configdir: #{configdir}..."

config_files = %w{chef-server-running.json}
config = load_json_from_path([configdir], config_files)

secrets = load_secrets_from_path([configdir], %w{private-chef-secrets.json} )
puts "Loading config: #{config}..."
puts "Loading authz config: #{config["private_chef"]["oc_bifrost"]}..."

authz_config = config["private_chef"]["oc_bifrost"]
authz_vip = authz_config["vip"]
Expand Down

0 comments on commit 9539c7d

Please sign in to comment.