2015-05-17 09:47:47 -04:00
|
|
|
# Because on Ubuntu we don't have a current HAProxy in the usual repo, we add a PPA
|
|
|
|
{% if salt['grains.get']('osfullname') == 'Ubuntu' %}
|
|
|
|
haproxy_ppa_repo:
|
|
|
|
pkgrepo.managed:
|
|
|
|
- ppa: vbernat/haproxy-1.5
|
|
|
|
- require_in:
|
|
|
|
- pkg: haproxy.install
|
|
|
|
- watch_in:
|
|
|
|
- pkg: haproxy.install
|
|
|
|
{% endif %}
|
|
|
|
|
2015-02-24 16:19:02 -05:00
|
|
|
haproxy.install:
|
|
|
|
pkg.installed:
|
2015-05-17 09:47:47 -04:00
|
|
|
- name: haproxy
|