lib/chef_fixie/config.rb in chef_fixie-1.0.7 vs lib/chef_fixie/config.rb in chef_fixie-1.0.8
- old
+ new
@@ -100,17 +100,14 @@
txt.join("\n")
end
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"]
authz_port = authz_config["port"]
@authz_uri = "http://#{authz_vip}:#{authz_port}"