Added apache include and requires to php5.sls and rewrite.sls

This commit is contained in:
Alan McNea 2013-11-05 20:05:28 +00:00
parent c863598ec7
commit f153c78ba8
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
include: include:
- apt - apt
- apache
mod-php5: mod-php5:
pkg.installed: pkg.installed:

View File

@ -2,11 +2,14 @@
include: include:
- apt - apt
- apache
a2enmod rewrite: a2enmod rewrite:
cmd.run: cmd.run:
- unless: ls /etc/apache2/mods-enabled/rewrite.load - unless: ls /etc/apache2/mods-enabled/rewrite.load
- order: 225 - order: 225
- require:
- pkg: apache
- watch_in: - watch_in:
- cmd: apache-restart - cmd: apache-restart