Sfoglia il codice sorgente

Merge pull request #167 from isntall/mod_remoteip_conf

[+] debian apache2 needs to have conf enabled when making this change
master
alxwr 7 anni fa
parent
commit
8540ce92f6
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. +9
    -1
      apache/mod_remoteip.sls

+ 9
- 1
apache/mod_remoteip.sls Vedi File

@@ -12,6 +12,15 @@ a2enmod remoteip:
- watch_in:
- module: apache-restart

a2enconf remoteip:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/remoteip.load
- order: 255
- require:
- pkg: apache
- watch_in:
- module: apache-reload

/etc/apache2/conf-available/remoteip.conf:
file.managed:
- template: jinja
@@ -21,7 +30,6 @@ a2enmod remoteip:
- pkg: apache
- watch_in:
- service: apache

{% endif %}



Loading…
Annulla
Salva