Sha256: 80c2da5894c739809de5129e37fb3cce983363f585ffdf7af9770e5f059436fd

Contents?: true

Size: 463 Bytes

Versions: 82

Compression:

Stored size: 463 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class CreateRemote < Pulp3::Abstract
        def plan(repository, smart_proxy)
          plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id) if repository.root.url?
        end

        def run
          repo = ::Katello::Repository.find(input[:repository_id])
          output[:response] = repo.backend_service(smart_proxy).create_remote
        end
      end
    end
  end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
katello-4.0.3 app/lib/actions/pulp3/repository/create_remote.rb
katello-3.18.5 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.2.1 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.2 app/lib/actions/pulp3/repository/create_remote.rb
katello-3.18.4 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.1.0 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.1.2 app/lib/actions/pulp3/repository/create_remote.rb
katello-3.18.3.1 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.1.0.rc2.2 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.1.0.rc2.1 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.1.1 app/lib/actions/pulp3/repository/create_remote.rb
katello-3.18.3 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.1.0.rc2 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.1 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.1.0.rc1.1 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.1.0.rc1 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.0 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.0.rc3.1 app/lib/actions/pulp3/repository/create_remote.rb
katello-4.0.0.rc3 app/lib/actions/pulp3/repository/create_remote.rb
katello-3.18.2.1 app/lib/actions/pulp3/repository/create_remote.rb