We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6605b7a commit 0a2c938Copy full SHA for 0a2c938
1 file changed
chef/lib/chef/config.rb
@@ -41,6 +41,15 @@ def self.manage_secret_key
41
newkey
42
end
43
44
+ # Override the config dispatch to set the value of log_location configuration option
45
+ #
46
+ # === Parameters
47
+ # location<IO||String>:: Logging location as either an IO stream or string representing log file path
48
49
+ def self.log_location=(location)
50
+ @@configuration[:log_location]=(location.respond_to?(:sync=) ? location : File.new(location, "w+"))
51
+ end
52
+
53
authorized_openid_identifiers nil
54
cookbook_path [ "/var/chef/site-cookbooks", "/var/chef/cookbooks" ]
55
couchdb_database "chef"
0 commit comments