correct IP addresses

This commit is contained in:
Henry Wang 2019-08-29 10:05:46 +08:00
parent 4e81d0f07d
commit 4974eefc64

View File

@ -18,7 +18,7 @@ class role::loadbalancer (
haproxy::balancermember { $backendserver_name1 : haproxy::balancermember { $backendserver_name1 :
listening_service => 'puppetserver', listening_service => 'puppetserver',
server_names => $backendserver_name1, server_names => $backendserver_name1,
ipaddress => '192.168.0.8', ipaddresses => $backendserver_ipaddress1,
ports => $ports1, ports => $ports1,
options => 'check', options => 'check',
} }
@ -26,7 +26,7 @@ class role::loadbalancer (
haproxy::balancermember { $backendserver_name2 : haproxy::balancermember { $backendserver_name2 :
listening_service => 'puppetserver', listening_service => 'puppetserver',
server_names => $backendserver_name2, server_names => $backendserver_name2,
ipaddress => '192.168.0.10', ipaddresses => $backendserver_ipaddress2,
ports => $ports1, ports => $ports1,
options => 'check', options => 'check',
} }