cdist/cdist/conf/type/__package_swupd/man.rst

67 lines
1.4 KiB
ReStructuredText

cdist-type__package_swupd(7)
============================
NAME
----
cdist-type__package_swupd - Manage packages with swupd
DESCRIPTION
-----------
swupd (software update program) is the package manager used on Clear Linux OS to
manage packages. The package will be installed without optional
packages. If such packages are required, install them
separately or use the parameter ``--install-optional``.
REQUIRED PARAMETERS
-------------------
None
OPTIONAL PARAMETERS
-------------------
name
If supplied, use the name and not the object id as the package name.
state
Either "present" or "absent", defaults to "present"
BOOLEAN PARAMETERS
------------------
install-optional
If the package will be installed, it also installs optional packages
with it. It will not install optional packages if the original package
is already installed.
EXAMPLES
--------
.. code-block:: sh
# Ensure zsh in installed
__package_swupd zsh --state present
# Remove package
__package_swupd zsh --state absent
SEE ALSO
--------
:strong:`cdist-type__package`\ (7)
AUTHORS
-------
Romain Dartigues <romain.dartigues+cdist at gmail.com>
COPYING
-------
Copyright \(C) 2024 Romain Dartigues. 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.