From f153c78ba8f3cc61504cf75eb9ee59c1f0b6374c Mon Sep 17 00:00:00 2001 From: Alan McNea Date: Tue, 5 Nov 2013 20:05:28 +0000 Subject: [PATCH] Added apache include and requires to php5.sls and rewrite.sls --- apache/php5.sls | 1 + apache/rewrite.sls | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apache/php5.sls b/apache/php5.sls index ac28e87..e68569b 100644 --- a/apache/php5.sls +++ b/apache/php5.sls @@ -2,6 +2,7 @@ include: - apt + - apache mod-php5: pkg.installed: diff --git a/apache/rewrite.sls b/apache/rewrite.sls index 51099f5..44e0153 100644 --- a/apache/rewrite.sls +++ b/apache/rewrite.sls @@ -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