Params

Param name Description
name
required

Validations:

  • String

label
optional

Validations:

  • String

product_id
required

Product the repository belongs to

Validations:

  • number.

url
optional

repository source url

Validations:

  • String

gpg_key_id
optional

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

Validations:

  • number.

unprotected
optional

true if this repository can be published via HTTP

Validations:

  • boolean

content_type
required

type of repo (either ‘yum’, ‘puppet’, ‘docker’, or ‘ostree’)

Validations:

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

checksum_type
optional

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

Validations:

  • String

docker_upstream_name
optional

name of the upstream docker repository

Validations:

  • String

download_policy
optional

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

Validations:

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

mirror_on_sync
optional

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

Validations:

  • boolean

verify_ssl_on_sync
optional

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

Validations:

  • boolean

upstream_username
optional

Username of the upstream repository user used for authentication

Validations:

  • String

upstream_password
optional

Password of the upstream repository user used for authentication

Validations:

  • String

ostree_upstream_sync_policy
optional

policies for syncing upstream ostree repositories.

Validations:

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

ostree_upstream_sync_depth
optional

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

Validations:

  • number.