Browse Source

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

tags/v0.37.4
Alan McNea 11 years ago
parent
commit
f153c78ba8
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      apache/php5.sls
  2. +3
    -0
      apache/rewrite.sls

+ 1
- 0
apache/php5.sls View File



include: include:
- apt - apt
- apache


mod-php5: mod-php5:
pkg.installed: pkg.installed:

+ 3
- 0
apache/rewrite.sls View File



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…
Cancel
Save