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 Model
class StackEc2 < StackBase
self.provider = 'ec2'
def initialize attr={}
self.provider = 'ec2'
super(attr)
end
end
end
end

View File

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