Merge pull request #39 from bigbosst/stat-level
adding levels for stat socket
This commit is contained in:
commit
e1f9df1c1a
2 changed files with 2 additions and 1 deletions
|
@ -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') }}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue