Sha256: 860b24a5289797ee997e3ccefc4a87c51b2829cbf2e3ed9229b00fc3e1bcedac

Contents?: true

Size: 515 Bytes

Versions: 53

Compression:

Stored size: 515 Bytes

Contents

module Actions
  module Katello
    module Organization
      class EnvironmentContentsRefresh < Actions::AbstractAsyncTask
        middleware.use Actions::Middleware::PropagateCandlepinErrors

        def plan(organization)
          organization.content_view_environments.each do |cve|
            plan_action(
              Actions::Candlepin::Environment::SetContent,
              cve.content_view,
              cve.owner,
              cve
            )
          end
        end
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
katello-4.7.3 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.7.2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.7.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.6.2.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.6.2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.7.0 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.6.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.7.0.rc2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.7.0.rc1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.5.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.6.0 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.6.0.rc2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.6.0.rc1 app/lib/actions/katello/organization/environment_contents_refresh.rb