From c7b2f710a181d5df942de8624de9b17d36851dfd Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Fri, 31 Jul 2015 16:06:12 +0200 Subject: [PATCH] Fix example puppet for multinode Signed-off-by: Bogdan Dobrelya --- example-puppet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example-puppet.py b/example-puppet.py index ddd54c66..685d9173 100644 --- a/example-puppet.py +++ b/example-puppet.py @@ -37,7 +37,7 @@ def deploy(): signals.Connections.clear() - node1, node2 = vr.create('nodes', 'templates/nodes.yml', {})[0] + node1, node2 = vr.create('nodes', 'templates/nodes.yml', {}) # MARIADB mariadb_service1 = vr.create('mariadb_service1', 'resources/mariadb_service', { @@ -362,8 +362,8 @@ def deploy(): # NOVA COMPUTE nova_compute_puppet = vr.create('nova_compute_puppet', 'resources/nova_compute_puppet', {})[0] - nova_puppet2 = vr.create('nova_puppet', 'resources/nova_puppet', {})[0] - signals.connect(nova_puppet, nova_puppet2 { + nova_puppet2 = vr.create('nova_puppet2', 'resources/nova_puppet', {})[0] + signals.connect(nova_puppet, nova_puppet2, { 'ensure_package', 'rabbit_host', 'rabbit_password', 'rabbit_port', 'rabbit_userid', 'rabbit_virtual_host', 'db_user', 'db_password',