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-4.0.3 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.18.5 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.2.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.18.4 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.1.2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.18.3.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.1.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.18.3 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.0 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.0.rc3.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.0.rc3 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.18.2.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.18.2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.17.3 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.0.rc2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.18.1.1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-3.17.2 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
katello-4.0.0.rc1 app/lib/actions/pulp/content_view_puppet_environment/index_content.rb