Sha256: e4b1a428b52cd92bf6155d03ba3c087f2ce6198d9d7050fa10cc14fb0ae0f832
Contents?: true
Size: 690 Bytes
Versions: 29
Compression:
Stored size: 690 Bytes
Contents
module Actions module Katello module Provider class ManifestRefresh < Actions::AbstractAsyncTask middleware.use Actions::Middleware::PropagateCandlepinErrors def plan(provider, upstream) action_subject provider plan_self :upstream => upstream end input_format do param :provider, Hash do param :id end param :upstream end def humanized_name _("Refresh Manifest") end def run provider = ::Katello::Provider.find(input[:provider][:id]) provider.refresh_manifest(input[:upstream]) end end end end end
Version data entries
29 entries across 29 versions & 1 rubygems