Merge pull request #16 from bechtoldt/improvements

setting the remaining changes caused by the change to module.wait
This commit is contained in:
Seth House 2014-01-08 07:29:15 -08:00
commit b1e2d39849
5 changed files with 7 additions and 7 deletions

View File

@ -14,9 +14,9 @@ a2enmod fcgid:
cmd.run:
- order: 225
- unless: ls /etc/apache2/mods-enabled/fcgid.load
- require:
- require:
- pkg: mod-fcgid
- watch_in:
- cmd: apache-restart
- module: apache-restart
{% endif %}

View File

@ -18,7 +18,7 @@ a2enmod php5:
- require:
- pkg: mod-php5
- watch_in:
- cmd: apache-restart
- module: apache-restart
{% if 'apache' in pillar and 'php-ini' in pillar['apache'] %}
/etc/php5/apache2/php.ini:
@ -26,7 +26,7 @@ a2enmod php5:
- source: {{ pillar['apache']['php-ini'] }}
- order: 225
- watch_in:
- cmd: apache-restart
- module: apache-restart
- require:
- pkg: apache
- pkg: php5

View File

@ -11,6 +11,6 @@ a2enmod rewrite:
- require:
- pkg: apache
- watch_in:
- cmd: apache-restart
- module: apache-restart
{% endif %}

View File

@ -11,6 +11,6 @@ a2enmod vhost_alias:
- require:
- pkg: apache
- watch_in:
- cmd: apache-restart
- module: apache-restart
{% endif %}

View File

@ -27,7 +27,7 @@ a2ensite {{ id }}:
- require:
- file: {{ id }}
- watch_in:
- cmd: apache-reload
- module: apache-reload
{% endif %}
{% endfor %}