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