2012-02-17 16:35:31 +00:00
|
|
|
cdist-type__package_pkg_freebsd(7)
|
|
|
|
==================================
|
2016-05-20 06:50:56 +00:00
|
|
|
Manage FreeBSD packages
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
Jake Guffey <jake.guffey--@--eprotex.com>
|
2012-02-17 16:35:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This type is usually used on FreeBSD to manage packages.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2012-10-07 15:51:15 +00:00
|
|
|
None
|
2012-02-17 16:35:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
name
|
2012-11-07 17:15:15 +00:00
|
|
|
If supplied, use the name and not the object id as the package name.
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
flavor
|
2012-11-07 17:15:15 +00:00
|
|
|
If supplied, use to avoid ambiguity.
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
version
|
2012-11-07 17:15:15 +00:00
|
|
|
If supplied, use to install a specific version of the package named.
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
pkgsite
|
2012-11-07 17:15:15 +00:00
|
|
|
If supplied, use to install from a specific package repository.
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2012-11-07 17:15:15 +00:00
|
|
|
Either "present" or "absent", defaults to "present"
|
2012-10-07 15:51:15 +00:00
|
|
|
|
2012-02-17 16:35:31 +00:00
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Ensure zsh is installed
|
|
|
|
__package_pkg_freebsd zsh --state present
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Ensure vim is installed, use flavor no_x11
|
|
|
|
__package_pkg_freebsd vim --state present --flavor no_x11
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# If you don't want to follow pythonX packages, but always use python
|
|
|
|
__package_pkg_freebsd python --state present --name python2
|
2012-02-17 16:35:31 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Remove obsolete package
|
|
|
|
__package_pkg_freebsd puppet --state absent
|
2012-02-17 16:35:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-05-20 06:50:56 +00:00
|
|
|
- `cdist-type(7) <cdist-type.html>`_
|
|
|
|
- `cdist-type__package(7) <cdist-type__package.html>`_
|
2012-02-17 16:35:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2012 Jake Guffey. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|