CDIST-TYPE__PACKAGE_PKG_OPENBSD(7)
π cdist-type__package_pkg_openbsd(7) π
okay bestie, welcome to the cdist-type__package_pkg page β this is a section 7 manual, and it's your little group chat with OpenBSD packages. let's get into it π«Ά
β¨ NAME β¨
cdist-type__package_pkg β Manage OpenBSD packages
πΈ DESCRIPTION πΈ
So like, this type is usually used on OpenBSD to manage packages. that's the whole vibe. it's giving "package management but make it cdist." π
π REQUIRED PARAMETERS π
None. not a single one. she's low maintenance, she's independent, she needs nothing from you. iconic. β¨
π¦ OPTIONAL PARAMETERS π¦
nameβ if you supply this, she uses that name and not the object id as the package name. like, you get to pick. main character move.flavorβ if you supply this, it's used to avoid ambiguity. no confusing the girlies. πversionβ if you supply this, it's used to avoid ambiguity. same energy, different axis. πstateβ either"present"or"absent", and it defaults to"present". those are the only two options, so don't get creative. πpkg_pathβ manually specify aPKG_PATHto add packages from. you're picking the mirror yourself, bestie. π
π₯ EXAMPLES π₯
the real ones. copy these exactly, no cap:
# Ensure zsh is installed
__package_pkg_openbsd zsh --state present
# Ensure vim is installed, use flavor no_x11
__package_pkg_openbsd vim --state present --flavor no_x11
# If you don't want to follow pythonX packages, but always use python
__package_pkg_openbsd python --state present --name python2
# Remove obsolete package
__package_pkg_openbsd puppet --state absent
# Add a package using a particular mirror
__package_pkg_openbsd bash \
--pkg_path http://openbsd.mirrorcatalogs.com/snapshots/packages/amd64
see? --state present to install, --state absent to yeet it into the void, --flavor when you need to be specific, --name when you're redirecting to a different package name, and --pkg_path when you're feeling particular about your mirror. obsessed. π§
π SEE ALSO π
cdist-type__package(7) β go read her too, she's the big sister.
π AUTHORS π
Andi BrΓΆnnimann <andi-cdist--@--v-net.ch> β thank you for your service, legend. π«‘
β COPYING β
Copyright (C) 2011 Andi BrΓΆnnimann. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).
yes bestie, GPLv3, free use, granted, all of it. read the license, it's literally the law (well, it's literally the license). π
πΈ COPYRIGHT πΈ
ungleich GmbH 2021
and that's the whole page, periodt. π
this little rewrite came to you from version 7.0.0, dated Jul 31, 202, and it's brought to you by cdist. stay slay, manage your packages, and always --state present on yourself. π¦β¨π
π¦ 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