Ensure openstack-dashboard-apache package is not present
Change-Id: Ib275343f554f92c67342422a62b23b72ed3df262
This commit is contained in:
parent
0d4552514a
commit
a8fdbbd88c
|
@ -5,6 +5,14 @@ horizon_packages:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- names: {{ server.pkgs }}
|
- names: {{ server.pkgs }}
|
||||||
|
|
||||||
|
horizon_apache_package_absent:
|
||||||
|
pkg.purged:
|
||||||
|
- name: openstack-dashboard-apache
|
||||||
|
- require:
|
||||||
|
- pkg: horizon_packages
|
||||||
|
- watch_in:
|
||||||
|
- service: horizon_services
|
||||||
|
|
||||||
horizon_config:
|
horizon_config:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ server.config }}
|
- name: {{ server.config }}
|
||||||
|
@ -40,13 +48,15 @@ horizon_apache_config:
|
||||||
- require:
|
- require:
|
||||||
- pkg: horizon_packages
|
- pkg: horizon_packages
|
||||||
|
|
||||||
|
{%- if grains.os_family == 'Debian' %}
|
||||||
/etc/apache2/conf-enabled/openstack-dashboard.conf:
|
/etc/apache2/conf-enabled/openstack-dashboard.conf:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- target: /etc/apache2/conf-available/openstack-dashboard.conf
|
- target: /etc/apache2/conf-available/openstack-dashboard.conf
|
||||||
|
|
||||||
apache_enable_wsgi:
|
apache_enable_wsgi:
|
||||||
apache_module.enable:
|
apache_module.enable:
|
||||||
- name: wsgi
|
- name: wsgi
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
horizon_services:
|
horizon_services:
|
||||||
service.running:
|
service.running:
|
||||||
|
|
Loading…
Reference in New Issue