Created
January 15, 2016 00:13
-
-
Save tuco86/32b928a32fcd21550294 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#nginx/init.sls | |
nginx: | |
pkg.installed: [] | |
service.running: | |
- reload: True | |
- watch: | |
- file: /etc/nginx/nginx.conf | |
- file: /etc/nginx/sites.d/default | |
- pkg: nginx | |
/etc/nginx/nginx.conf: | |
file.managed: | |
- user: root | |
- group: root | |
- mode: 644 | |
- source: salt://nginx/nginx.conf | |
- require: | |
- pkg: nginx | |
/etc/nginx/sites.d: | |
file.directory: [] | |
/etc/nginx/sites.d/default: | |
file.managed: | |
- user: root | |
- group: root | |
- mode: 644 | |
- template: jinja | |
- source: salt://nginx/sites.d/default | |
/etc/nginx/sites-enabled/000default: | |
file.absent: [] | |
/etc/nginx/sites-enabled/default: | |
file.absent: [] | |
# sentry/init.sls | |
include: | |
- nginx | |
/etc/nginx/sites.d/sentry.tuc0.de: | |
file.managed: | |
- source: salt://sentry/sentry.tuc0.de | |
- watch_in: | |
- servie: nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment