
Distributions provide packages for the OpenStack services so we add support for using these instead of the pip ones. Depends-On: I5a78e2120e596d36629b4ba978b2b5df76b149b0 Depends-On: Ib64dcbc960df7d369d202ce8cf7bdc29b3ee0e0a Depends-On: Id9dd2dea146709414ab9ce8d439f1587e6776fd4 Depends-On: I2ba89e25c0010c9a5b515a3d0c9c731b30876e74 Depends-On: I0442b0aa94c3d0882d1118ad0c824d123bd21c88 Change-Id: I26848678dd07a409ef3e159cffb4ba6f0a228ab4 Implements: blueprint openstack-distribution-packages
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
---
|
|
# Copyright 2018, SUSE LINUX GmbH
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
#
|
|
# Compile a list of the distro packages to install based on
|
|
# whether the host is in the host group and the service is
|
|
# enabled.
|
|
#
|
|
keystone_package_list: |-
|
|
{% set packages = keystone_distro_packages %}
|
|
{% if keystone_web_server == 'apache' %}
|
|
{% set _ = packages.extend(keystone_apache_distro_packages) %}
|
|
{% if keystone_idp != {} %}
|
|
{% set _ = packages.extend(keystone_idp_distro_packages) %}
|
|
{% endif %}
|
|
{% if keystone_sp != {} %}
|
|
{% set _ = packages.extend(keystone_sp_distro_packages) %}
|
|
{% endif %}
|
|
{% else %}
|
|
{% set _ = packages.extend(keystone_nginx_distro_packages) %}
|
|
{% endif %}
|
|
{% set _ = packages.extend(keystone_service_distro_packages) %}
|
|
{{ packages }}
|
|
|
|
_keystone_bin: "/usr/bin"
|
|
_keystone_etc: "/etc"
|