Quellcode durchsuchen

Merge pull request #80 from eliasp/a2tools-confext

a2(en|dis)site requires the full name incl. the confext.
master
Nitin Madhok vor 9 Jahren
Ursprung
Commit
9bd6873d27
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      apache/register_site.sls

+ 2
- 2
apache/register_site.sls Datei anzeigen

@@ -9,9 +9,9 @@
{% if 'name' in pillar['apache']['register-site'][site] and 'state' in pillar['apache']['register-site'][site] %}

{% if pillar['apache']['register-site'][site]['state'] == 'enabled' %}
{% set a2modid = "a2ensite " ~ pillar['apache']['register-site'][site]['name'] %}
{% set a2modid = "a2ensite " ~ pillar['apache']['register-site'][site]['name'] ~ apache.confext %}
{% else %}
{% set a2modid = "a2dissite " ~ pillar['apache']['register-site'][site]['name'] %}
{% set a2modid = "a2dissite " ~ pillar['apache']['register-site'][site]['name'] ~ apache.confext %}
{% endif %}
{{ a2modid }}:
cmd.run:

Laden…
Abbrechen
Speichern