add rule 2

This commit is contained in:
Henry Wang 2019-09-03 10:32:36 +01:00
parent b9dab8d4a8
commit 2a8473b2fd

View File

@ -36,6 +36,22 @@ class role::loadbalancer (
#pending Improvement, possible areas: Array Input with multipal ports #pending Improvement, possible areas: Array Input with multipal ports
haproxy::balancermember { 'member3' :
listening_service => $rule2,
server_names => $backendserver_name1,
ipaddresses => $backendserver_ipaddress1,
ports => $ports2,
options => 'check',
}
haproxy::balancermember { 'member4' :
listening_service => $rule2,
server_names => $backendserver_name2,
ipaddresses => $backendserver_ipaddress2,
ports => $ports2,
options => 'check',
}