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 a PKG_PATH to 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). πŸ’–

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