Added apache include and requires to php5.sls and rewrite.sls
This commit is contained in:
parent
c863598ec7
commit
f153c78ba8
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
include:
|
include:
|
||||||
- apt
|
- apt
|
||||||
|
- apache
|
||||||
|
|
||||||
mod-php5:
|
mod-php5:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user