class Kafo::ScenarioOption
A class containing constants for all scenario options
Constants
- ANSWER_FILE
Path to answer file, if the file does not exist a $pwd/config/answers.yaml is used as a fallback
- CHECK_DIRS
Checks, implemented as executable files, are loaded from the listed directories.
- COLORS
Enable colors? If you don’t touch this, we’ll autodetect terminal capabilities
- COLOR_OF_BACKGROUND
Color scheme, we support :bright and :dark (first is better for white background, dark for black background)
- CONFIG_HEADER_FILE
- CUSTOM
Custom storage is handy if you use hooks and you must store some configuration which should persist among installer runs. It can be also used for passing value from one hook to another.
- DESCRIPTION
Description of the installer scenario and its purpose
- DONT_SAVE_ANSWERS
- ENABLED
Whether the scenario is enabled or not
- FACTS
- HIERA_CONFIG
- HOOK_DIRS
Hooks in these extra directories will be loaded, by default they are loaded from $installer_dir/hooks/$type when you specify your directory, it will be search for $yourdir/$type/*.rb
- IGNORE_UNDOCUMENTED
By default all module parameters must be documented or an error is raised. This can be used to not raise an error when undocumented parameters are found.
- INSTALLER_DIR
- KAFO_MODULES_DIR
- LOG_DIR
Destination for the log files
- LOG_GROUP
- LOG_LEVEL
- LOG_NAME
- LOG_OWNER
- LOW_PRIORITY_MODULES
- MAPPING
An optional mapping of classes
- MODULE_DIRS
Option to load puppet modules from a specific path. Optional and $pwd/modules is used by default, multiple dirs are allowed
- NAME
Human readable scenario name
- NO_PREFIX
- ORDER
- PARSER_CACHE_PATH
Kafo
has a cache for information parsed from Puppet modules. This determines the location where that information is stored.- SKIP_PUPPET_VERSION_CHECK
Puppet modules declare the Puppet version they’re compatible with.
Kafo
implements checks to verify this is correct with the Puppet version that’s running. This can be used to bypass the checks- STORE_DIR
- VERBOSE
Whether verbose logging is enabled
- VERBOSE_LOG_LEVEL
When verbose logging is enabled, which level (and up) is shown.