Created
October 1, 2015 14:24
-
-
Save kevinquinnyo/3dfdd689bfc748b4dc19 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
include: | |
- varnish.config | |
base: | |
pkgrepo.managed: | |
- humanname: Varnish Cache 4.0 | |
- name: deb https://repo.varnish-cache.org/ubuntu/ precise varnish-4.0 | |
- dist: trusty | |
- file: /etc/apt/sources.list.d/varnish-cache.list | |
- require_in: | |
- pkg: varnish | |
- gpgcheck: 1 | |
- key_url: https://repo.varnish-cache.org/GPG-key.txt | |
varnish: | |
pkg: | |
- installed | |
service.running: | |
- require: | |
- pkg: varnish | |
- sls: varnish.config | |
- watch: | |
- file: /etc/varnish/default.vcl | |
varnishncsa: | |
service.running: | |
- require: | |
- pkg: varnish | |
- sls: varnish.config | |
- watch: | |
- file: /etc/default/varnishncsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment