class Berkshelf::ChefConfigCompat
def self.from_file(file)
def self.from_file(file) new(file) end
def cookbook_copyright(*args, &block)
def cookbook_copyright(*args, &block) ChefConfig::Config.cookbook_copyright(*args, &block) || "YOUR_NAME" end
def cookbook_email(*args, &block)
def cookbook_email(*args, &block) ChefConfig::Config.cookbook_email(*args, &block) || "YOUR_EMAIL" end
def cookbook_license(*args, &block)
def cookbook_license(*args, &block) ChefConfig::Config.cookbook_license(*args, &block) || "reserved" end
def initialize(path, options = {})
-
options
(Hash
) -- -
path
(#to_s
) --
def initialize(path, options = {}) ChefConfig::WorkstationConfigLoader.new(path).load ChefConfig::Config.merge!(options) ChefConfig::Config.export_proxies # Set proxy settings as environment variables ChefConfig::Config.init_openssl # setup openssl + fips mode end
def method_missing(name, *args, &block)
def method_missing(name, *args, &block) ChefConfig::Config.send(name, *args, &block) end
def respond_to_missing?(name)
def respond_to_missing?(name) ChefConfig::Config.respond_to?(name) end
def to_hash
def to_hash ChefConfig::Config.save(true) end