Sha256: ff7add4019351b0a5a4a02d94df07f0962e7c52a5a2672f60e290d2902a2f85d
Contents?: true
Size: 740 Bytes
Versions: 21
Compression:
Stored size: 740 Bytes
Contents
module Actions module Middleware class LoadSettingValues < ::Dynflow::Middleware # ::Actions::Middleware::LoadSettingValues # # A middleware to ensure we load current setting values def delay(*args) reload_setting_values pass(*args) end def plan(*args) reload_setting_values pass(*args) end def run(*args) reload_setting_values pass(*args) end def finalize(*args) reload_setting_values pass(*args) end def hook(*args) reload_setting_values pass(*args) end private def reload_setting_values ::Foreman.settings.load_values end end end end
Version data entries
21 entries across 21 versions & 1 rubygems