CDIST-TYPE__PACKAGE_YUM(7)
β¨ cdist-type__package_yum β¨
ok so bestie, this is a cdist type page β it's cdist-type__package_yum from the cdist manual, and it's all about managing packages with yum. π
π DESCRIPTION π
So yum is the package manager that's usually doing its thing on the Fedora distribution, keeping packages in line. That's its whole job and honestly it's serving.
heads up bestie: if you handyuma package name it doesn't know, it's gonna hit you with the slightly confusing error message"Error: Nothing to do". Like girl. that is not helpful. but that's what it says, so don't be surprised. π
π«Ά REQUIRED PARAMETERS π«Ά
None. literally nothing required, she's low maintenance. β¨
π OPTIONAL PARAMETERS π
nameβ if you supply this, it uses thenameinstead of the object id as the package name. iykyk.stateβ either"present"or"absent". defaults to"present".urlβ the URL to use for the package.
πΈ EXAMPLES πΈ
ok here's where it gets fun, look at these:
# Ensure zsh in installed
__package_yum zsh --state present
# If you don't want to follow pythonX packages, but always use python
__package_yum python --state present --name python2
# Remove obsolete package
__package_yum puppet --state absent
__package epel-release-6-8 \
--url http://mirror.switch.ch/ftp/mirror/epel/6/i386/epel-release-6-8.noarch.rpm
(and yes, the comment really does say "Ensure zsh in installed" β we're keeping it exactly as it is, no edits, periodt. π)
π SEE ALSO π
go read that one too, it's the main character of the package type family. π¦
π AUTHORS π
- Nico Schottelius
<nico-cdist--@--schottelius.org>
π COPYING π
Copyright (C) 2011-2012 Nico Schottelius. 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
and that's the whole page bestie, no notes, we ate. π
this was cdist manual version 7.0.0, dated Jul 31, 2022 β mwah, bye, go manage some packages π
β¨
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms