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:
- apt
- apache
mod-php5:
pkg.installed:

View File

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