CDIST-TYPE__PACKAGE_ZYPPER(7)

πŸ’– cdist-type__package_zypper β€” the manual page bestie πŸ’–

okay so real talk, this is cdist-type__package_zypper(7) from the cdist manual family, and it's literally the glow-up your SuSE boxes have been waiting for ✨


🌸 NAME 🌸

cdist-type__package_zypper β€” manage packages with zypper, no cap 🫢


✨ DESCRIPTION ✨

So zypper is that girl on the SuSE distribution β€” she's the one who handles all your package management business πŸ’…. That's the whole vibe here: this type lets cdist boss zypper around.


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

None. Zero. Nada. She asks for nothing, she gives everything πŸ‘‘


πŸ¦‹ OPTIONAL PARAMETERS πŸ¦‹

  • name β€” if you supply it, she uses name as the package name instead of the object id. like, your object id said one thing but you want the package to be called something else, iykyk.
  • state β€” either "present" or "absent", and it defaults to "present" 🌈.
  • version β€” the version of the package to install. default is to install whatever version your local package manager picked out (main character energy, honestly). wanna see the options? go peek at the output of zypper se -s packagename β€” fr fr, that's where the list lives.
  • ptype β€” either "package", "patch", "pattern", "product" or "srcpackage", defaults to "package". for a description, go read man zypper bestie, that's the source πŸ“.

πŸ’œ EXAMPLES πŸ’œ

# Ensure zsh is installed
__package_zypper zsh --state present

# If you don't want to follow pythonX packages, but always use python
__package_zypper python --state present --name python2

# Ensure binutils is installed and the version is forced to be 2.23.1-0.19.2
__package_zypper binutils --state present --version 2.23.1-0.19.2

# Remove package
__package_zypper cfengine --state absent

# install all packages which belongs to pattern x11
__package_zypper x11 --ptype pattern --state present

look at her go 😭 so clean, so iconic, so demure 🌟


πŸ”₯ SEE ALSO πŸ”₯

cdist-type__package(7) β€” the sibling, the lore, the extended universe 🧚


πŸ‘‘ AUTHORS πŸ‘‘

Daniel Heule <hda--@--sfs.biz> β€” the legend who wrote this πŸ’–


🌈 COPYING 🌈

Copyright (C) 2012 Nico Schottelius. Copyright (C) 2013 Daniel Heule.

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. periodt πŸ’…


ungleich GmbH 2021


okay and that's the whole page bestie, no gatekeeping here 🫢

and like, the version stamp said 7.0.0 and it was dated Jul 31, 2022 β€” so this whole vibe check is officially from that era ✨ slay, bye πŸ’–πŸŒΈ

πŸ“¦ where this page comes from