Ensure openstack-dashboard-apache package is not present

Change-Id: Ib275343f554f92c67342422a62b23b72ed3df262
This commit is contained in:
Filip Pytloun 2016-04-21 15:57:31 +02:00
parent 0d4552514a
commit a8fdbbd88c
1 changed files with 11 additions and 1 deletions

View File

@ -5,6 +5,14 @@ horizon_packages:
pkg.installed:
- names: {{ server.pkgs }}
horizon_apache_package_absent:
pkg.purged:
- name: openstack-dashboard-apache
- require:
- pkg: horizon_packages
- watch_in:
- service: horizon_services
horizon_config:
file.managed:
- name: {{ server.config }}
@ -40,13 +48,15 @@ horizon_apache_config:
- require:
- pkg: horizon_packages
{%- if grains.os_family == 'Debian' %}
/etc/apache2/conf-enabled/openstack-dashboard.conf:
file.symlink:
- target: /etc/apache2/conf-available/openstack-dashboard.conf
apache_enable_wsgi:
apache_module.enable:
- name: wsgi
{%- endif %}
horizon_services:
service.running: