-
-
Save corywright/361896ab45ce6748a74f4c1e6973457f 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
haproxy: | |
pkg.installed | |
/etc/haproxy/haproxy.cfg: | |
file.managed: | |
- source: salt://proxy/etc/haproxy/haproxy.cfg | |
- require: | |
- pkg: haproxy | |
service-haproxy: | |
service.running: | |
- name: haproxy | |
- watch: | |
- pkg: haproxy | |
service-haproxy-reload: | |
service.running: | |
- name: haproxy | |
- reload: True | |
- onlyif: haproxy -f /etc/haproxy/haproxy.cfg -c | |
- watch: | |
- file: /etc/haproxy/haproxy.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment