fuel-library/deployment/puppet/osnailyfacter/modular/virtual_ips/virtual_ips_pre.rb
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

19 lines
688 B
Ruby

require File.join File.dirname(__FILE__), '../test_common.rb'
class VirtualIpsPrePreTest < Test::Unit::TestCase
def test_pacemaker_is_online
assert TestCommon::Pacemaker.online?, 'Could not query Pacemaker CIB!'
end
def test_hiera_data
assert TestCommon::Settings.lookup('management_vip'), 'No management_vip in Hiera!'
assert TestCommon::Settings.lookup('management_vrouter_vip'), 'No management_vrouter_vip in Hiera!'
if TestCommon::Settings.lookup 'public_int'
assert TestCommon::Settings.lookup('public_vip'), 'No public_vip in Hiera!'
assert TestCommon::Settings.lookup('public_vrouter_vip'), 'No public_vrouter_vip in Hiera!'
end
end
end