diff --git a/haproxy/init.sls b/haproxy/init.sls index b0cb536..19f0c0f 100644 --- a/haproxy/init.sls +++ b/haproxy/init.sls @@ -1,16 +1,13 @@ haproxy: - pkg: - - installed - file: - - managed + pkg.installed: [] + file.managed: - name: /etc/haproxy/haproxy.cfg - source: salt://haproxy/files/haproxy.cfg - user: root - group: root - mode: 644 - template: jinja - service: - - running + service.running: - enable: True - require: - pkg: haproxy