cdist/cdist/conf/type/__package_pkg_freebsd/man.rst

71 lines
1.4 KiB
ReStructuredText
Raw Normal View History

cdist-type__package_pkg_freebsd(7)
==================================
NAME
----
cdist-type__package_pkg_freebsd - Manage FreeBSD packages
DESCRIPTION
-----------
This type is usually used on FreeBSD to manage packages.
REQUIRED PARAMETERS
-------------------
None
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
name
If supplied, use the name and not the object id as the package name.
2016-05-20 06:50:56 +00:00
flavor
If supplied, use to avoid ambiguity.
2016-05-20 06:50:56 +00:00
version
If supplied, use to install a specific version of the package named.
2016-05-20 06:50:56 +00:00
pkgsite
If supplied, use to install from a specific package repository.
2016-05-20 06:50:56 +00:00
state
Either "present" or "absent", defaults to "present"
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
# Ensure zsh is installed
__package_pkg_freebsd zsh --state present
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
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
2016-05-20 06:50:56 +00:00
# Remove obsolete package
__package_pkg_freebsd puppet --state absent
SEE ALSO
--------
2016-06-30 13:12:32 +00:00
:strong:`cdist-type__package`\ (7)
AUTHORS
-------
Jake Guffey <jake.guffey--@--eprotex.com>
COPYING
-------
2016-08-12 19:58:44 +00:00
Copyright \(C) 2012 Jake Guffey. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.