Merge pull request #82 from eliasp/patch-1

Don't execute `a2dissite` on each state run
This commit is contained in:
puneet kandhari 2015-09-25 04:58:44 -05:00
commit c6413a361c

View File

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