cdist-type__package_pkg_freebsd(7)
cdist-type__package_pkg_freebsd - Manage FreeBSD packages
This type is usually used on FreeBSD to manage packages.
-
name
-
If supplied, use the name and not the object id as the package name.
-
flavor
-
If supplied, use to avoid ambiguity.
-
version
-
If supplied, use to install a specific version of the package named.
-
pkgsite
-
If supplied, use to install from a specific package repository.
-
state
-
Either "present" or "absent".
# Ensure zsh is installed
__package_pkg_freebsd zsh --state installed
# Ensure vim is installed, use flavor no_x11
__package_pkg_freebsd vim --state installed --flavor no_x11
# If you don't want to follow pythonX packages, but always use python
__package_pkg_freebsd python --state installed --name python2
# Remove obsolete package
__package_pkg_freebsd puppet --state removed
-
cdist-type(7)
-
cdist-type__package(7)
Copyright (C) 2012 Jake Guffey. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).