2013-12-12 09:56:15 +00:00
|
|
|
cdist-type__package_emerge(7)
|
|
|
|
=============================
|
2016-05-20 06:50:56 +00:00
|
|
|
Manage packages with portage
|
2013-12-12 09:56:15 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
Thomas Oettli <otho--@--sfs.biz>
|
2013-12-12 09:56:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Portage is usually used on the gentoo distribution to manage packages.
|
|
|
|
This type requires app-portage/gentoolkit installed on the target host.
|
|
|
|
cdist-type__package_emerge_dependencies is supposed to install the needed
|
|
|
|
packages on the target host.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
name
|
2013-12-12 09:56:15 +00:00
|
|
|
If supplied, use the name and not the object id as the package name.
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2013-12-12 09:56:15 +00:00
|
|
|
Either "present" or "absent", defaults to "present".
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
version
|
2013-12-12 09:56:15 +00:00
|
|
|
If supplied, use to install or uninstall a specific version of the package named.
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Ensure sys-devel/gcc is installed
|
|
|
|
__package_emerge sys-devel/gcc --state present
|
2013-12-12 09:56:15 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# If you want a specific version of a package
|
|
|
|
__package_emerge app-portage/gentoolkit --state present --version 0.3.0.8-r2
|
2013-12-12 09:56:15 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Remove package
|
|
|
|
__package_emerge sys-devel/gcc --state absent
|
2013-12-12 09:56:15 +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>`_
|
|
|
|
- `cdist-type__package_emerge_dependencies(7) <cdist-type__package_emerge_dependencies.html>`_
|
2013-12-12 09:56:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2013 Thomas Oettli. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|