Scroll to navigation

CDIST-TYPE__YUM_REPO(7) cdist CDIST-TYPE__YUM_REPO(7)

NAME

cdist-type__yum_repo - Manage yum repositories

DESCRIPTION

For all undocumented parameters see yum.conf(5).

REQUIRED PARAMETERS

None.

OPTIONAL PARAMETERS

'present' or 'absent'. Defaults to 'present'
Defaults to __object_id.

name

Can be specified multiple times.

metalink

mirrorlist

Can be specified multiple times.

gpgcakey

gpgcheck

exclude

includepkgs

failovermethod

timeout

http_caching

retries

throttle

bandwidth

sslcacert

sslverify

sslclientcert

sslclientkey

ssl_check_cert_permissions

metadata_expire

mirrorlist_expire

proxy

proxy_username

proxy_password

username

password

cost

BOOLEAN PARAMETERS

enabled

repo_gpgcheck

! enablegroups

keepalive

skip_if_unavailable

EXAMPLES

__yum_repo epel \

--name 'Extra Packages for Enterprise Linux 6 - $basearch' \
--mirrorlist 'https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch' \
--failovermethod priority \
--enabled \
--gpgcheck 1 \
--gpgkey https://fedoraproject.org/static/0608B895.txt


AUTHORS

Steven Armstrong <steven-cdist--@--armstrong.cc>

COPYING

Copyright (C) 2014 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

COPYRIGHT

ungleich GmbH 2021

September 11, 2024 7.0.0