Add option to install the Octavia client

Allow installation of the Octavia client in the Undercloud by setting
new option enable_octavia=True in the undercloud.conf. Default is not to
enable.

Change-Id: I2b27dac2f30a126e6519d19cc135ea6eea59e8a9
This commit is contained in:
Carlos Goncalves 2018-02-12 18:59:07 +01:00
parent 3e702f3bdf
commit fef5be332e
5 changed files with 19 additions and 0 deletions

View File

@ -651,6 +651,10 @@ if str2bool(hiera('enable_cinder', true)) {
}
}
if str2bool(hiera('enable_octavia', false)) {
include ::octavia::client
}
# firewalld is a dependency of some anaconda packages, so we need to use purge
# to ensure all the things that it might be a dependency for are also
# removed. See LP#1669915

View File

@ -849,6 +849,7 @@ enable_telemetry: {{ENABLE_TELEMETRY}}
enable_ui: {{ENABLE_UI}}
enable_cinder: {{ENABLE_CINDER}}
enable_container_images_build: {{ENABLE_CONTAINER_IMAGES_BUILD}}
enable_octavia: {{ENABLE_OCTAVIA}}
# Path to install configuration files
tripleo_install_user: {{TRIPLEO_INSTALL_USER}}

View File

@ -357,6 +357,11 @@ _opts = [
help=('Whether to enable docker container images to be build '
'on the undercloud.')
),
cfg.BoolOpt('enable_octavia',
default=False,
help=('Whether to install the Octavia client in the '
'Undercloud.')
),
cfg.StrOpt('ipa_otp',
default='',
help=('One Time Password to register Undercloud node with '

View File

@ -0,0 +1,6 @@
---
features:
- |
Allow installation of the Octavia client in the Undercloud by setting new
option ``enable_octavia=True`` in the ``undercloud.conf``. Default is not
to enable.

View File

@ -192,6 +192,9 @@
# undercloud. (boolean value)
#enable_container_images_build = true
# Whether to install the Octavia client. (boolean value)
#enable_octavia = false
# One Time Password to register Undercloud node with an IPA server.
# Required when enable_novajoin = True. (string value)
#ipa_otp =