diff --git a/php5.sls b/php5.sls index 8218818..b6b5710 100644 --- a/php5.sls +++ b/php5.sls @@ -13,6 +13,7 @@ mod-php5: a2enmod php5: cmd.run: - unless: ls /etc/apache2/mods-enabled/php5.load + - order: 225 - require: - pkg: mod-php5 - watch_in: diff --git a/rewrite.sls b/rewrite.sls index 8e80faa..958c74a 100644 --- a/rewrite.sls +++ b/rewrite.sls @@ -6,6 +6,7 @@ include: a2enmod rewrite: cmd.run: - unless: ls /etc/apache2/mods-enabled/rewrite.load + - order: 225 - watch_in: - cmd: apache-restart