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.14.2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.15.0 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.15.0.rc2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.15.0.rc1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.14.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.14.0 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.14.0.rc3 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.14.0.rc2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.14.0.rc1.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.14.0.rc1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.13.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.13.0 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.12.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.13.0.rc1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.12.0 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.12.0.rc3 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.12.0.rc2 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.12.0.rc1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.11.1 app/lib/actions/katello/organization/environment_contents_refresh.rb
katello-4.11.0 app/lib/actions/katello/organization/environment_contents_refresh.rb