Top Level Namespace

Defined Under Namespace

Modules: ChefNetHTTPExceptionExtensions, FFI, Net, ResourceInspector, Shell, WEBrick, Win32 Classes: Chef, FalseClass, String, Symbol, TrueClass

Constant Summary collapse

Mash =

For historical reasons we inject Mash directly into the top level class namespace

ChefUtils::Mash
LOG_LEVEL =

Ohai::Config defines its own log_level and log_location. When loaded, it will override the default ChefConfig::Config values. We save them here before loading ohai/config so that we can override them again inside Chef::Config.

REMOVEME once these configurables are removed from the top level of Ohai.

ChefConfig::Config[:log_level]
LOG_LOCATION =
ChefConfig::Config[:log_location]
MonoLogger =
Mixlib::Log::Logger
TIMEOUT_OPTS =
%w{duration preserve-status foreground kill-after signal}.freeze
TIMEOUT_REGEX =
/\A\S+/.freeze
WEEKDAYS =
{
  sunday: "0", monday: "1", tuesday: "2", wednesday: "3", thursday: "4", friday: "5", saturday: "6",
  sun: "0", mon: "1", tue: "2", wed: "3", thu: "4", fri: "5", sat: "6"
}.freeze