Introduce 'enable_validations' option

When enabled, install required validations user and packages to run the
TripleO validations on the undercloud via puppet.

Change-Id: I67868246ae861018e517409a9e579055b2a55d87
Depends-On: Ib2b1ddcda3a41cb7263171d3024f05ba8bfd2f28
This commit is contained in:
Martin André 2016-05-30 17:18:31 +02:00 committed by Tomas Sedovic
parent 6b4ed717db
commit bf0f777c4a
4 changed files with 14 additions and 0 deletions

View File

@ -486,6 +486,10 @@ if str2bool(hiera('enable_ui', true)) {
include ::tripleo::profile::base::ui
}
if str2bool(hiera('enable_validations', false)) {
include ::tripleo::profile::base::validations
}
if str2bool(hiera('enable_zaqar', true)) {
include ::mongodb::globals
include ::mongodb::server

View File

@ -582,6 +582,7 @@ mistral::keystone_tenant: 'service'
enable_tempest: {{ENABLE_TEMPEST}}
enable_mistral: {{ENABLE_MISTRAL}}
enable_zaqar: {{ENABLE_ZAQAR}}
enable_validations: {{ENABLE_VALIDATIONS}}
enable_telemetry: {{ENABLE_TELEMETRY}}
enable_ui: {{ENABLE_UI}}
ipxe_deploy: {{IPXE_DEPLOY}}

View File

@ -296,6 +296,11 @@ _opts = [
default=True,
help=('Whether to install the TripleO UI.')
),
cfg.BoolOpt('enable_validations',
default=False,
help=('Whether to install requirements to run the TripleO '
'validations.')
),
cfg.BoolOpt('ipxe_deploy',
default=True,
help=('Whether to use iPXE for deploy by default.')

View File

@ -157,6 +157,10 @@
# (boolean value)
#enable_ui = true
# Whether to install requirements to run the TripleO validations.
# (boolean value)
#enable_validations = false
# Whether to use iPXE for deploy by default. (boolean value)
#ipxe_deploy = true