Sha256: ae8c0b7eee273326b2d1bafb5909539ba332c2601dfe96394b30142256a8abc1
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
module Superhosting module Controller class Base < Base def repair container_controller = self.get_controller(Container) container_controller.index.each do |container_name, hash_of_mappers| if hash_of_mappers[:state_mapper].value != 'up' container_controller.reconfigure(name: container_name).net_status_ok! else container_controller._each_site(name: container_name) do |controller, name, state| controller.reconfigure(name: name).net_status_ok! if state != 'up' end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
superhosting-0.0.2 | lib/superhosting/controller/base.rb |