Merge "composer.create returns CreatedResources object"
This commit is contained in:
commit
87020de471
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user