diff --git a/haproxy/templates/haproxy.jinja b/haproxy/templates/haproxy.jinja index 8b7832b..9f7a2f5 100644 --- a/haproxy/templates/haproxy.jinja +++ b/haproxy/templates/haproxy.jinja @@ -34,7 +34,7 @@ global daemon {%- endif %} {%- if salt['pillar.get']('haproxy:global:stats:enable', 'no') == True %} - stats socket {{ salt['pillar.get']('haproxy:global:stats:socketpath', '/tmp/ha_stats.sock') }} + stats socket {{ salt['pillar.get']('haproxy:global:stats:socketpath', '/tmp/ha_stats.sock') }} level {{ salt['pillar.get']('haproxy:global:stats:level', 'operator') }} {%- endif %} {%- if 'maxconn' in salt['pillar.get']('haproxy:global', {}) %} maxconn {{ salt['pillar.get']('haproxy:global:maxconn') }} diff --git a/pillar.example b/pillar.example index 062fb9d..4c5a201 100644 --- a/pillar.example +++ b/pillar.example @@ -9,6 +9,7 @@ haproxy: stats: enable: True socketpath: /var/lib/haproxy/stats + level: admin ssl-default-bind-ciphers: "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384" ssl-default-bind-options: "no-sslv3 no-tlsv10 no-tlsv11"