Params

Param name Description
name
required

Name of the repository

Validations:

  • String

description
optional

Description of the repository

Validations:

  • String

label
optional

Validations:

  • String

product_id
required

Product the repository belongs to

Validations:

  • Must be a number.

content_type
required

type of repo

Validations:

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

url
optional

repository source url

Validations:

  • String

os_versions
optional

Identifies whether the repository should be disabled on a client with a non-matching OS version. Pass [] to enable regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8

Validations:

  • Must be an array of any type

gpg_key_id
optional

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

Validations:

  • Must be a number.

ssl_ca_cert_id
optional

Identifier of the content credential containing the SSL CA Cert

Validations:

  • Must be a number.

ssl_client_cert_id
optional

Identifier of the content credential containing the SSL Client Cert

Validations:

  • Must be a number.

ssl_client_key_id
optional

Identifier of the content credential containing the SSL Client Key

Validations:

  • Must be a number.

unprotected
optional

true if this repository can be published via HTTP

Validations:

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

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

docker_tags_whitelist
optional

Comma-separated list of tags to sync for Container Image repository

Validations:

  • Must be an array of any type

download_policy
optional

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

Validations:

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

download_concurrency
optional

Used to determine download concurrency of the repository in pulp3. Use value less than 20. Defaults to 10

Validations:

  • Must be a number.

mirror_on_sync
optional

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
optional

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
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:

  • Must be a number.

deb_releases
optional

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

Validations:

  • String

deb_components
optional

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

Validations:

  • String

deb_architectures
optional

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

Validations:

  • String

ignore_global_proxy
optional

if true, will ignore the globally configured proxy when syncing

Validations:

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

ignorable_content
optional

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

ansible_collection_requirements
optional

Contents of requirement yaml file to sync from URL

Validations:

  • String

http_proxy_policy
optional

policies for HTTP proxy for content sync

Validations:

  • Must be one of: global_default_http_proxy, none, use_selected_http_proxy.

http_proxy_id
optional

ID of a HTTP Proxy

Validations:

  • Must be a number.