fuel-library/deployment/puppet/osnailyfacter/modular/keystone/keystone_pre.rb
Mykyta Koshykov 906eb4217b Refactor DB creation
- Move DB creation for every service to own task
- Refactor Murano and Sahara DB configuration classes
- Cherry-pick MySQL providers from upstream to allow DB creation and
  management on remote host
- Remove openstack::db::mysql
- Move database and user creation to a separete task
- Either install local database or use an external one

Implements: blueprint: detach-components-from-controllers

Co-Authored-By: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
Co-Authored-By: Dmitry Ilyin <dilyin@mirantis.com>

Change-Id: Iaf3b7913e8c79c08025dbdaf5f2beff7337ab644
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
2015-07-02 17:51:21 +02:00

21 lines
609 B
Ruby

require File.join File.dirname(__FILE__), '../test_common.rb'
PUBLIC_BACKEND = 'keystone-1'
ADMIN_BACKEND = 'keystone-2'
class KeystonePreTest < Test::Unit::TestCase
def test_haproxy_public_backend_present
assert TestCommon::HAProxy.backend_present?(PUBLIC_BACKEND), "There is no '#{PUBLIC_BACKEND}' HAProxy backend!"
end
def test_haproxy_admin_backend_present
assert TestCommon::HAProxy.backend_present?(ADMIN_BACKEND), "There is no '#{ADMIN_BACKEND}' HAProxy backend!"
end
def test_amqp_accessible
assert TestCommon::AMQP.connection?, 'Cannot connect to AMQP server!'
end
end