Sha256: 14970e0b19d1637bd024ccf59437237665aebfa9db1c403587fe31a6c64bfac6

Contents?: true

Size: 482 Bytes

Versions: 17

Compression:

Stored size: 482 Bytes

Contents

module Actions
  module Candlepin
    module Consumer
      class Update < Candlepin::Abstract
        def plan(uuid, consumer_params)
          plan_self(:uuid => uuid,
                    :consumer_params => consumer_params)
        end

        def run
          ::Katello::Resources::Candlepin::Consumer.update(input[:uuid], input[:consumer_params])
        end

        def finalize
          input[:consumer_params][:facts] = 'TRIMMED'
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
katello-3.4.2 app/lib/actions/candlepin/consumer/update.rb
katello-3.4.1 app/lib/actions/candlepin/consumer/update.rb
katello-3.4.0.2 app/lib/actions/candlepin/consumer/update.rb
katello-3.4.0.1 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.2 app/lib/actions/candlepin/consumer/update.rb
katello-3.4.0 app/lib/actions/candlepin/consumer/update.rb
katello-3.4.0.rc2 app/lib/actions/candlepin/consumer/update.rb
katello-3.4.0.rc1 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.1.1 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.1 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.0.1 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.0 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.0.rc2 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.0.rc1.1 app/lib/actions/candlepin/consumer/update.rb
katello-3.3.0.rc1 app/lib/actions/candlepin/consumer/update.rb
katello-3.2.1.1 app/lib/actions/candlepin/consumer/update.rb
katello-3.2.1 app/lib/actions/candlepin/consumer/update.rb