Merge pull request #271 from SynPrime/perl2-fix

fix(mod_perl2.sls): fix a2enmod perl2 error
This commit is contained in:
Imran Iqbal 2019-11-05 08:09:32 +00:00 committed by GitHub
commit 3a7e89024c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,9 +17,9 @@ mod-perl2:
- service: apache - service: apache
{% if grains['os_family']=="Debian" %} {% if grains['os_family']=="Debian" %}
a2enmod perl2: a2enmod perl:
cmd.run: cmd.run:
- unless: ls /etc/apache2/mods-enabled/perl2.load - unless: ls /etc/apache2/mods-enabled/perl.load
- order: 225 - order: 225
- require: - require:
- pkg: mod-perl2 - pkg: mod-perl2