class Beaker::DSL::InstallUtils::FeatureFlags

This helper class encapsulates querying feature flag settings from options which can be used to drive Beaker’s install behavior around new or experimental features, typically in the PE Modules.

Also handles initializing feature flag settings from environment variables for CI. In this way, flags can be pulled in without needing to munge Beaker’s config file which is often handled inside of a script in Jenkins.

Flags are expected to be found in a feature_flags hash in the options under the key :feature_flags. Beaker::OptionHash should ensure that all keys end up as symbols. If you are programatically constructing the answers, you must take care to use merge() to add elements.

@example The use of the pe-modules-next package is handled by:

:answers => {
  :feature_flags => {
    :pe_modules_next => true
  }
}

All flag keys are expected to be downcased with underscores.

Environment variables may be uppercased.