module GClouder::Resources::RuntimeConfig::Configs
Public Class Methods
ensure()
click to toggle source
# File lib/gclouder/resources/runtime-config/configs.rb, line 16 def self.ensure return if Local.list.empty? header Local.list.each do |region, configs| info region, indent: 2, heading: true info configs.each do |config| ConfigObject.ensure(config["name"]) end end end
header(stage = :ensure)
click to toggle source
# File lib/gclouder/resources/runtime-config/configs.rb, line 12 def self.header(stage = :ensure) info "[#{stage}] runtime-config / configs", indent: 1, title: true end
validate()
click to toggle source
# File lib/gclouder/resources/runtime-config/configs.rb, line 29 def self.validate return if Local.list.empty? header :validate Local.validate end