CDIST-TYPE__YUM_REPO(7)

πŸ’– cdist-type__yum_repo πŸ’–

okay bestie, welcome to cdist-type__yum_repo(7) from the cdist manual β€” this is the one that handles your yum repositories and honestly? it's giving infrastructure excellence. ✨


🌸 NAME 🌸

cdist-type__yum_repo β€” manage yum repositories πŸŽ€


✨ DESCRIPTION ✨

This type is your girl for managing yum repositories. πŸ’…

For all the parameters that aren't documented here, go check yum.conf(5) β€” that's where the lore lives, iykyk. πŸ“–


πŸ‘‘ REQUIRED PARAMETERS πŸ‘‘

None. Not a single one. She's low-maintenance like that. πŸ’…βœ¨


πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

  • state β€” 'present' or 'absent'. Defaults to 'present'.
  • repositoryid β€” defaults to __object_id.
  • name
  • baseurl β€” can be specified multiple times. πŸ¦‹
  • metalink
  • mirrorlist
  • gpgkey β€” 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
not me listing all of those with zero extra commentary β€” the manpage literally gives no more deets on them, so the move is yum.conf(5). no cap. πŸ™ˆ

🌈 BOOLEAN PARAMETERS 🌈

  • enabled
  • repo_gpgcheck
  • disablegroups β€” this is the inverse of enablegroups. so disablegroups is ! enablegroups, periodt. πŸ’€
  • keepalive
  • skip_if_unavailable

🧚 EXAMPLES 🧚

okay here's the moment, the main character example, look at her go πŸ”₯

__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

ate. no crumbs. πŸ’…


πŸ’œ AUTHORS πŸ’œ

Steven Armstrong <steven-cdist--@--armstrong.cc> β€” shoutout to the icon who made this 🫢


πŸ“œ 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.


ungleich GmbH 2021


and that's the whole page, bestie πŸ¦‹βœ¨ this was cdist-type__yum_repo(7), version 7.0.0, dated Jul 31, 2022 β€” love that for us, go configure some repos, you got this πŸ’…πŸŽ€πŸŒŸ

πŸ“¦ where this page comes from