Fix example puppet for multinode

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2015-07-31 16:06:12 +02:00
parent 60b7b9fdad
commit c7b2f710a1

View File

@ -37,7 +37,7 @@ def deploy():
signals.Connections.clear() signals.Connections.clear()
node1, node2 = vr.create('nodes', 'templates/nodes.yml', {})[0] node1, node2 = vr.create('nodes', 'templates/nodes.yml', {})
# MARIADB # MARIADB
mariadb_service1 = vr.create('mariadb_service1', 'resources/mariadb_service', { mariadb_service1 = vr.create('mariadb_service1', 'resources/mariadb_service', {
@ -362,8 +362,8 @@ def deploy():
# NOVA COMPUTE # NOVA COMPUTE
nova_compute_puppet = vr.create('nova_compute_puppet', 'resources/nova_compute_puppet', {})[0] nova_compute_puppet = vr.create('nova_compute_puppet', 'resources/nova_compute_puppet', {})[0]
nova_puppet2 = vr.create('nova_puppet', 'resources/nova_puppet', {})[0] nova_puppet2 = vr.create('nova_puppet2', 'resources/nova_puppet', {})[0]
signals.connect(nova_puppet, nova_puppet2 { signals.connect(nova_puppet, nova_puppet2, {
'ensure_package', 'rabbit_host', 'ensure_package', 'rabbit_host',
'rabbit_password', 'rabbit_port', 'rabbit_userid', 'rabbit_password', 'rabbit_port', 'rabbit_userid',
'rabbit_virtual_host', 'db_user', 'db_password', 'rabbit_virtual_host', 'db_user', 'db_password',