cdist-type__package_pkg(7)

Andi Brönnimann


Table of Contents

1. NAME
2. DESCRIPTION
3. REQUIRED PARAMETERS
4. OPTIONAL PARAMETERS
5. EXAMPLES
6. SEE ALSO
7. COPYING

1. NAME

cdist-type__package_pkg_openbsd - Manage OpenBSD packages

2. DESCRIPTION

This type is usually used on OpenBSD to manage packages.

3. REQUIRED PARAMETERS

state
The state the package should be in, either "present" or "absent" (the old values "installed" or "removed" will be removed in cdist 2.1).

4. OPTIONAL PARAMETERS

name
If supplied, use the name and not the object id as the package name.
flavor
If supplied, use to avoid ambiguity.

5. EXAMPLES

# 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

6. SEE ALSO

  • cdist-type(7)
  • cdist-type__package(7)

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).