fuel-library/deployment/puppet/osnailyfacter/modular/virtual_ips/public_vip_ping.pp
Dmitry Ilyin ddad48b738 Move ping public vip to post action
* Cleanup and refactor of virtual_ips task
* Ping public vip resource moved to post_deploy
* Noop and functional tests

Change-Id: I9a11f6473d1b9ec94f99764419a4f0fc2534a99e
Closes-Bug: 1391773
2015-04-17 17:56:44 +00:00

16 lines
326 B
Puppet

notice('MODULAR: public_vip_ping.pp')
$run_ping_checker = hiera('run_ping_checker', true)
$network_scheme = hiera('network_scheme')
$ping_host_list = $network_scheme['endpoints']['br-ex']['gateway']
if $run_ping_checker {
$vip = 'vip__public'
cluster::virtual_ip_ping { $vip :
host_list => $ping_host_list,
}
}