realms-wiki/srv/salt/nginx/init.sls
2013-12-02 10:02:53 -06:00

15 lines
285 B
Plaintext

nginx:
pkg:
- installed
service.running:
- enable: True
- reload: True
- require:
- pkg: nginx
- watch:
- file: /etc/nginx/conf.d/realms.conf
/etc/nginx/conf.d/realms.conf:
file.managed:
- template: jinja
- source: salt://nginx/nginx.conf