2011-04-05 17:28:18 +00:00
|
|
|
cdist-type__package_pkg(7)
|
2011-04-06 18:24:01 +00:00
|
|
|
==========================
|
2011-04-05 21:23:24 +00:00
|
|
|
Andi Brönnimann <andi-cdist--@--v-net.ch>
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2012-01-09 15:30:52 +00:00
|
|
|
cdist-type__package_pkg_openbsd - Manage OpenBSD packages
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This type is usually used on OpenBSD to manage packages.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
state::
|
2012-02-08 21:16:09 +00:00
|
|
|
The state the package should be in, either "present" or "absent"
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
|
|
|
name::
|
2012-02-08 21:16:09 +00:00
|
|
|
If supplied, use the name and not the object id as the package name.
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
flavor::
|
2012-02-08 21:16:09 +00:00
|
|
|
If supplied, use to avoid ambiguity.
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
# Ensure zsh is installed
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_pkg_openbsd zsh --state present
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
# Ensure vim is installed, use flavor no_x11
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_pkg_openbsd vim --state present --flavor no_x11
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
# If you don't want to follow pythonX packages, but always use python
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_pkg_openbsd python --state present --name python2
|
2011-04-05 17:28:18 +00:00
|
|
|
|
|
|
|
# Remove obsolete package
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_pkg_openbsd puppet --state absent
|
2011-04-05 17:28:18 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
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).
|