dottes_website: file.managed: - require: - sls: apache - sls: certificates - names: - /etc/apache2/sites-available/dottes.cryhavoc.org.uk.conf: - source: salt://dottes_website/dottes.cryhavoc.org.uk.conf apache_site.enabled: - require: - file: /etc/apache2/sites-available/dottes.cryhavoc.org.uk.conf - name: dottes.cryhavoc.org.uk service.running: - name: apache2 - reload: true - watch: - file: /etc/apache2/sites-available/dottes.cryhavoc.org.uk.conf