Add horizon_user_pip_packages variable
With this variable, users would be able to extend the list of pip packages in case of needing an extra pip package. Currently if we need an extra pip package we need to override the existing list. Change-Id: I9b41af83b473a19a3097e4754c17928b23b968d5
This commit is contained in:
parent
46ce9ed999
commit
554c6bd1fe
@ -397,6 +397,9 @@ horizon_pip_packages:
|
|||||||
- python-memcached
|
- python-memcached
|
||||||
- python-keystoneclient
|
- python-keystoneclient
|
||||||
|
|
||||||
|
# Specific pip packages provided by the user
|
||||||
|
horizon_user_pip_packages: []
|
||||||
|
|
||||||
# Optional pip packages for additional dashboards
|
# Optional pip packages for additional dashboards
|
||||||
# TODO(odyssey4me):
|
# TODO(odyssey4me):
|
||||||
# Simplify this when we are no longer using the py_pkgs plugin
|
# Simplify this when we are no longer using the py_pkgs plugin
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
venv_install_destination_path: "{{ horizon_bin | dirname }}"
|
venv_install_destination_path: "{{ horizon_bin | dirname }}"
|
||||||
venv_pip_install_args: "{{ horizon_pip_install_args }}"
|
venv_pip_install_args: "{{ horizon_pip_install_args }}"
|
||||||
venv_pip_packages: >-
|
venv_pip_packages: >-
|
||||||
{{ horizon_pip_packages + horizon_optional_pip_packages +
|
{{ horizon_pip_packages | union(horizon_user_pip_packages) + horizon_optional_pip_packages +
|
||||||
(horizon_enable_blazar_ui | bool) | ternary(horizon_blazar_optional_pip_packages, []) +
|
(horizon_enable_blazar_ui | bool) | ternary(horizon_blazar_optional_pip_packages, []) +
|
||||||
(horizon_enable_cloudkitty_ui | bool) | ternary(horizon_cloudkitty_optional_pip_packages, []) +
|
(horizon_enable_cloudkitty_ui | bool) | ternary(horizon_cloudkitty_optional_pip_packages, []) +
|
||||||
(horizon_enable_designate_ui | bool) | ternary(horizon_designate_optional_pip_packages, []) +
|
(horizon_enable_designate_ui | bool) | ternary(horizon_designate_optional_pip_packages, []) +
|
||||||
|
Loading…
Reference in New Issue
Block a user