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, yum, puppet.

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