forked from ungleich-public/cdist
3818548d9a
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
58 lines
1.3 KiB
Text
58 lines
1.3 KiB
Text
cdist-type__package_pkg(7)
|
|
==========================
|
|
Andi Brönnimann <andi-cdist--@--v-net.ch>
|
|
|
|
|
|
NAME
|
|
----
|
|
cdist-type__package_pkg_openbsd - Manage OpenBSD packages
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
This type is usually used on OpenBSD to manage packages.
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
-------------------
|
|
state::
|
|
Either "installed" or "removed".
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
-------------------
|
|
name::
|
|
If supplied, use the name and not the object id as the package name.
|
|
|
|
flavor::
|
|
If supplied, use to avoid ambiguity.
|
|
|
|
|
|
EXAMPLES
|
|
--------
|
|
|
|
--------------------------------------------------------------------------------
|
|
# Ensure zsh is installed
|
|
__package_pkg_openbsd zsh --state installed
|
|
|
|
# Ensure vim is installed, use flavor no_x11
|
|
__package_pkg_openbsd vim --state installed --flavor no_x11
|
|
|
|
# If you don't want to follow pythonX packages, but always use python
|
|
__package_pkg_openbsd python --state installed --name python2
|
|
|
|
# Remove obsolete package
|
|
__package_pkg_openbsd puppet --state removed
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
- cdist-type(7)
|
|
- cdist-type__package(7)
|
|
|
|
|
|
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).
|