add httpd-tools to haproxy
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
class cd_haproxy::params (
|
||||
|
||||
$pkg_ensure = 'latest',
|
||||
$reqpackages = ['haproxy'],
|
||||
$reqpackages = ['haproxy','httpd-tools'],
|
||||
|
||||
$hy_host_fqdn = undef,
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ stick on <%= backend_config['be_stick_on'] %>
|
||||
<% end -%>
|
||||
<% if backend_config['be_http_check'] and backend_config['be_http_check'] != '' -%>
|
||||
http-check <%= backend_config['be_http_check'] %>
|
||||
<% end -%>
|
||||
<% end -%>x
|
||||
<% if backend_config['be_server_name_array'] and !backend_config['be_server_name_array'].empty? -%>
|
||||
<% backend_config['be_server_name_array'].each do |be_server_name| -%>
|
||||
server <%= be_server_name %>
|
||||
|
||||
Reference in New Issue
Block a user