Merge "composer.create returns CreatedResources object"

This commit is contained in:
Jenkins 2016-01-05 15:19:16 +00:00 committed by Gerrit Code Review
commit 87020de471

View File

@ -33,9 +33,9 @@ def setup_riak():
ModelMeta.remove_all()
resources = cr.create('nodes', 'templates/nodes', {'count': 3})
nodes = [x for x in resources if x.name.startswith('node')]
hosts_services = [x for x in resources if x.name.startswith('hosts_file')]
nodes = resources.like('node')
hosts_services = resources.like('hosts_file')
node1, node2, node3 = nodes
hosts_services = [x for x in resources if x.name.startswith('hosts_file')]
riak_services = []
ips = '10.0.0.%d'