Sha256: edb722b9471a0c8fd052686cfc6fbfdd1896adb93438661e204403c9838fe9ad
Contents?: true
Size: 657 Bytes
Versions: 27
Compression:
Stored size: 657 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 private def reload_setting_values ::Foreman.settings.load_values end end end end
Version data entries
27 entries across 27 versions & 1 rubygems