Параметры

Имя параметра Описание
name
обязательно

Validations:

  • String

label
необязательно

Validations:

  • String

product_id
обязательно

Репозиторий

Validations:

  • number.

content_type
обязательно

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

Validations:

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

url
необязательно

URL источника репозитория

Validations:

  • String

gpg_key_id
необязательно

идентификатор ключа GPG для нового репозитория

Validations:

  • number.

unprotected
необязательно

«True», если репозиторий может быть доступен по HTTP

Validations:

  • boolean

checksum_type
необязательно

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

Validations:

  • String

docker_upstream_name
необязательно

имя официального репозитория docker

Validations:

  • String

download_policy
необязательно

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

Validations:

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

mirror_on_sync
необязательно

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

Validations:

  • boolean

verify_ssl_on_sync
необязательно

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

Validations:

  • boolean

upstream_username
необязательно

Username of the upstream repository user used for authentication

Validations:

  • String

upstream_password
необязательно

Password of the upstream repository user used for authentication

Validations:

  • String

ostree_upstream_sync_policy
необязательно

policies for syncing upstream ostree repositories.

Validations:

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

ostree_upstream_sync_depth
необязательно

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

Validations:

  • number.

deb_releases
необязательно

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

Validations:

  • String

deb_components
необязательно

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

Validations:

  • String

deb_architectures
необязательно

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

Validations:

  • String

ignore_global_proxy
необязательно

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

Validations:

  • boolean