Sha256: 2b49101cbae77ec511967c6fdedbafa639963d000ce71c51e1f00063294284ac
Contents?: true
Size: 617 Bytes
Versions: 15
Compression:
Stored size: 617 Bytes
Contents
module Actions module Foreman module Puppetclass class Import < Actions::EntryAction def resource_locks :import_puppetclasses end def run output[:results] = ::PuppetClassImporter.new.obsolete_and_new(input[:changed]) end def rescue_strategy ::Dynflow::Action::Rescue::Skip end def humanized_name _("Import Puppet classes") end # default value for cleaning up the tasks, it can be overriden by settings def self.cleanup_after '30d' end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems