MythicSalt/states/dottes_website/init.sls

19 lines
527 B
Plaintext
Raw Normal View History

2023-03-08 15:44:34 +00:00
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