/usr/lib/ruby/1.8/mcprovision/config.rb is in mcollective-server-provisioner 0.0.1~git20110120-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | module MCProvision
class Config
attr_reader :settings
def initialize(configfile = "/etc/mcollective/provisioner.yaml")
Util.log("Loading config from #{configfile}")
@settings = YAML.load_file(configfile)
if @settings.include?("logfile") && @settings.include?("loglevel")
MCProvision.logfile(@settings["logfile"], @settings["loglevel"])
else
MCProvision.logfile("/dev/stderr", "debug")
end
end
end
end
|