Browse Source

Merge pull request #82 from eliasp/patch-1

Don't execute `a2dissite` on each state run
master
puneet kandhari 9 years ago
parent
commit
c6413a361c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apache/vhosts/standard.sls

+ 1
- 0
apache/vhosts/standard.sls View File

@@ -43,6 +43,7 @@ a2ensite {{ id }}{{ apache.confext }}:
a2dissite {{ id }}{{ apache.confext }}:
cmd:
- run
- onlyif: test -f /etc/apache2/sites-enabled/{{ id }}{{ apache.confext }}
- require:
- file: /etc/apache2/sites-available/{{ id }}{{ apache.confext }}
- watch_in:

Loading…
Cancel
Save