Params

Param Name Description
name
Optional

New name for the repository

Validations:

  • String

id
Required

repository ID

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

gpg_key_id
Optional

ID of a gpg key that will be assigned to this repository

Validations:

  • number.

unprotected
Optional

true if this repository can be published via HTTP

Validations:

  • boolean

checksum_type
Optional

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

Validations:

  • String

url
Optional

the feed url of the original repository

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