This commit is contained in:
amartynov 2015-08-04 12:40:08 +03:00
parent 9d7a2968dc
commit 024250d408
2 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,12 @@
module Devops module Devops
module Model module Model
class StackEc2 < StackBase class StackEc2 < StackBase
def initialize attr={}
self.provider = 'ec2' self.provider = 'ec2'
super(attr)
end
end end
end end
end end

View File

@ -1,7 +1,11 @@
module Devops module Devops
module Model module Model
class StackOpenstack < StackBase class StackOpenstack < StackBase
def initialize attr={}
self.provider = 'openstack' self.provider = 'openstack'
super(attr)
end
def stack_status def stack_status
details[:stack_status] || details['stack_status'] if details details[:stack_status] || details['stack_status'] if details