53e79276c9
The SUSE builds are failing due to a change in the galera_client role causing the trove role's vars file to be found before the galera_client vars file. We therefore rename the trove vars file for SUSE. This also makes transitions between versions easier. The mysql-python package is no longer maintained. We are using pymysql instead, so this package does not need to be installed. This resolves current build failures due to the mysql-python package not being installable due to the new version of MariaDB being used. With this, we also switch django to use pymysql and ensure that the appropriate distribution package is installed when doing distro builds. Depends-On: https://review.openstack.org/602924 Change-Id: I020678e0beb131836e3006e46eec22c02977f8ec
85 lines
2.5 KiB
YAML
85 lines
2.5 KiB
YAML
---
|
|
# Copyright 2014, Rackspace US, Inc.
|
|
#
|
|
# 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.
|
|
|
|
horizon_system_service_name: apache2
|
|
|
|
horizon_devel_distro_packages:
|
|
- git-core
|
|
- libxslt-devel
|
|
- openssl
|
|
- libopenssl-devel
|
|
|
|
horizon_distro_packages:
|
|
- apache2
|
|
- apache2-utils
|
|
- apache2-mod_wsgi
|
|
- cronie
|
|
- cronie-anacron
|
|
- gettext
|
|
- which
|
|
|
|
horizon_service_distro_packages:
|
|
- openstack-horizon-plugin-designate-ui
|
|
- openstack-horizon-plugin-gbp-ui
|
|
- openstack-horizon-plugin-ironic-ui
|
|
- openstack-horizon-plugin-magnum-ui
|
|
- openstack-horizon-plugin-manila-ui
|
|
- openstack-horizon-plugin-monasca-ui
|
|
- openstack-horizon-plugin-neutron-fwaas-ui
|
|
- openstack-horizon-plugin-neutron-lbaas-ui
|
|
- openstack-horizon-plugin-neutron-vpnaas-ui
|
|
- openstack-horizon-plugin-sahara-ui
|
|
- openstack-horizon-plugin-trove-ui
|
|
- python-horizon
|
|
- python-memcached
|
|
- python-PyMySQL
|
|
|
|
# SUSE does not currently have packages for the following dashboards
|
|
horizon_enable_heat_ui: False
|
|
horizon_enable_octavia_ui: False
|
|
|
|
horizon_apache_conf: "/etc/apache2/httpd.conf"
|
|
horizon_apache_default_log_folder: "/var/log/apache2"
|
|
horizon_apache_default_log_owner: "root"
|
|
horizon_apache_default_log_grp: "root"
|
|
horizon_apache_security_conf: "{{ horizon_apache_conf }}"
|
|
|
|
horizon_apache_configs:
|
|
- { src: "horizon_apache_ports.conf.j2", dest: "/etc/apache2/conf.d/ports.conf", owner: "root", group: "root" }
|
|
- { src: "openstack_dashboard.conf.j2", dest: "/etc/apache2/conf.d/openstack-dashboard.conf", owner: "root", group: "root" }
|
|
|
|
horizon_apache_default_sites:
|
|
- "/etc/apache2/conf.d/gitweb.conf"
|
|
|
|
horizon_apache_modules:
|
|
- name: "authz_host"
|
|
state: "present"
|
|
- name: "access_compat"
|
|
state: "present"
|
|
- name: "version"
|
|
state: "present"
|
|
- name: "ssl"
|
|
state: "present"
|
|
- name: "wsgi"
|
|
state: "present"
|
|
- name: "rewrite"
|
|
state: "present"
|
|
- name: "headers"
|
|
state: "present"
|
|
|
|
_horizon_lib_dir: "/srv/www/openstack-dashboard"
|
|
horizon_python_lib_dir: "/usr/lib/python2.7/site-packages"
|
|
horizon_dashboard_panel_dir: "{{ _horizon_lib_dir }}/openstack_dashboard/enabled"
|