fuel-library/deployment/puppet/haproxy/templates/haproxy_userlist_block.erb
Stanislaw Bogatkin 1a0f3c0a6d Sync puppet haproxy module from upstream
UP link: https://github.com/puppetlabs/puppetlabs-haproxy
UP commit sha: 4c94112afbb143f54caae0967e29261b41179017
Implements: blueprint ssl-endpoints

Change-Id: Icb96703ad50b111af463cb6c4094091a251ca680
2015-06-18 10:12:07 -05:00

13 lines
265 B
Plaintext

userlist <%= @name %>
<%- Array(@groups).each do |group| -%>
<%- if group and ! group.empty? -%>
group <%= group %>
<%- end -%>
<%- end -%>
<%- Array(@users).each do |user| -%>
<%- if user and ! user.empty? -%>
user <%= user %>
<%- end -%>
<%- end -%>