Parametry

Nazwa parametru Opis
name
wymagany

Validations:

  • String

label
opcjonalny

Validations:

  • String

product_id
wymagany

Product the repository belongs to

Validations:

  • Must be a number.

content_type
wymagany

type of repo (either 'yum', 'deb', 'puppet', 'docker', or 'ostree')

Validations:

  • Must be one of: docker, ostree, yum, puppet, file, deb.

url
opcjonalny

repository source url

Validations:

  • String

gpg_key_id
opcjonalny

id of the gpg key that will be assigned to the new repository

Validations:

  • Must be a number.

ssl_ca_cert_id
opcjonalny

Idenifier of the SSL CA Cert

Validations:

  • Must be a number.

ssl_client_cert_id
opcjonalny

Identifier of the SSL Client Cert

Validations:

  • Must be a number.

ssl_client_key_id
opcjonalny

Identifier of the SSL Client Key

Validations:

  • Must be a number.

unprotected
opcjonalny

true if this repository can be published via HTTP

Validations:

  • Must be one of: true, false, 1, 0

checksum_type
opcjonalny

checksum of the repository, currently 'sha1' & 'sha256' are supported.

Validations:

  • String

docker_upstream_name
opcjonalny

name of the upstream docker repository

Validations:

  • String

download_policy
opcjonalny

download policy for yum repos (either 'immediate', 'on_demand', or 'background')

Validations:

  • Must be one of: immediate, on_demand, background.

mirror_on_sync
opcjonalny

true if this repository when synced has to be mirrored from the source and stale rpms removed.

Validations:

  • Must be one of: true, false, 1, 0

verify_ssl_on_sync
opcjonalny

if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA.

Validations:

  • Must be one of: true, false, 1, 0

upstream_username
opcjonalny

Username of the upstream repository user used for authentication

Validations:

  • String

upstream_password
opcjonalny

Password of the upstream repository user used for authentication

Validations:

  • String

ostree_upstream_sync_policy
opcjonalny

policies for syncing upstream ostree repositories.

Validations:

  • Must be one of: latest, all, custom.

ostree_upstream_sync_depth
opcjonalny

if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided.

Validations:

  • Must be a number.

deb_releases
opcjonalny

comma separated list of releases to be synched from deb-archive

Validations:

  • String

deb_components
opcjonalny

comma separated list of repo components to be synched from deb-archive

Validations:

  • String

deb_architectures
opcjonalny

comma separated list of architectures to be synched from deb-archive

Validations:

  • String

ignore_global_proxy
opcjonalny

if true, will ignore the globally configured proxy when syncing.

Validations:

  • Must be one of: true, false, 1, 0

ignorable_content
opcjonalny

List of content units to ignore while syncing a yum repository. Must be subset of rpm,drpm,srpm,distribution,erratum

Validations:

  • Must be an array of any type