This commit is contained in:
amartynov 2015-08-18 18:50:47 +03:00
parent e4cd1f3a62
commit 9ee033272b

View File

@ -255,7 +255,7 @@ module Provider
end
def stack_servers(stack)
r = list_stack_resources({'StackName' => stack.name}).body['StackResourceSummaries'] #stack_resources(stack)
r = cloud_formation.list_stack_resources({'StackName' => stack.name}).body['StackResourceSummaries'] #stack_resources(stack)
pp r
s = r.map{|r| pp r; compute.servers.get(r['PhysicalResourceId'])}
pp s