Sha256: dc54903d273ee8924bf3d649c8cf852fb7e3e5b80fedc7570c73ab7536aca890

Contents?: true

Size: 519 Bytes

Versions: 121

Compression:

Stored size: 519 Bytes

Contents

module Actions
  module Pulp
    module ContentViewPuppetEnvironment
      class IndexContent < Pulp::Abstract
        input_format do
          param :id, Integer
        end

        def run
          User.as_anonymous_admin do
            puppet_env = ::Katello::ContentViewPuppetEnvironment.find(input[:id])
            puppet_module_ids = pulp_extensions.repository.puppet_module_ids(puppet_env.pulp_id)
            puppet_env.index_content(puppet_module_ids)
          end
        end
      end
    end
  end
end

Version data entries

121 entries across 121 versions & 1 rubygems

Version Path
katello-3.11.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.11.0 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.11.0.rc2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.11.0.rc1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.10.0 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.10.0.rc1.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.9.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.10.0.rc1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.9.0 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.8.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.9.0.rc2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.9.0.rc1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.7.1.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.7.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.8.0 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.8.0.rc3 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.8.0.rc2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.7.0 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.8.0.rc1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.7.0.rc2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb