CDIST-TYPE__PACKAGE(7)
π cdist-type__package π
okay bestie, welcome to the cdist-type__package manual page β this is the cdist type that handles packages, and she's the queen of delegation π
β¨ NAME β¨
cdist-type__package β Manage packages π
πΈ DESCRIPTION πΈ
so basically this cdist type lets you install or uninstall packages on the target. that's it, that's the job π
and the way she does it? she does NOT do the work herself, no ma'am. she dispatches the actual work to the package system dependent types. she's the manager, the other types are the ones clocking in π iconic delegation honestly π¦
π§ REQUIRED PARAMETERS π§
None π
nothing required, she's low maintenance, we love that for her β¨
π OPTIONAL PARAMETERS π
nameβ the name of the package to install. default is to use theobject_idas the package name. so like, if you don't tell her the name, she just assumes the object_id is it πΈversionβ the version of the package to install. default is to install the version chosen by the local package manager. so if you don't specify, your local package manager gets to pick and honestly let her cook πtypeβ the package type to use. default is determined based on the$osexplorer variable. e.g.__package_aptfor Debian__package_emergefor Gentoo
so yeah, she peeks at $os and picks the matching type for you, no cap π
stateβ either"present"or"absent", defaults to"present"β¨
π EXAMPLES π
# Install the package vim on the target
__package vim --state present
# Same but install specific version
__package vim --state present --version 7.3.50
# Force use of a specific package type
__package vim --state present --type __package_apt
like look at that. three examples, all serving π the third one is giving "i know better than the $os variable" energy and we respect it π€
π«Ά AUTHORS π«Ά
Steven Armstrong <steven-cdist--@--armstrong.cc> β shoutout to the legend, we stan π
π COPYING π
Copyright (C) 2011 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.
fr fr, version 3 or later, your call bestie β¨
π COPYRIGHT π
ungleich GmbH 2021
and that's the whole page, you ate it, no crumbs π
this was version 7.0.0 from Jul 31, 2022 β mwah, go install something, ily ππ¦π
π¦ 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