2011-03-15 15:37:34 +00:00
|
|
|
cdist-type__package_apt(7)
|
|
|
|
==========================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__package_apt - Manage packages with apt-get
|
2011-03-15 15:37:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
apt-get is usually used on Debian and variants (like Ubuntu) to
|
|
|
|
manage packages.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2012-10-07 15:51:15 +00:00
|
|
|
None
|
2011-03-15 15:37:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
name
|
2011-03-15 15:37:34 +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
|
2012-11-07 18:22:02 +00:00
|
|
|
Either "present" or "absent", defaults to "present"
|
2012-10-07 15:51:15 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
target-release
|
2014-11-25 22:00:17 +00:00
|
|
|
Passed on to apt-get install, see apt-get(8).
|
|
|
|
Essentially allows you to retrieve packages from a different release
|
2011-03-15 15:37:34 +00:00
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Ensure zsh in installed
|
|
|
|
__package_apt zsh --state present
|
2011-03-15 15:37:34 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# In case you only want *a* webserver, but don't care which one
|
|
|
|
__package_apt webserver --state present --name nginx
|
2011-03-15 15:37:34 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Remove obsolete package
|
|
|
|
__package_apt puppet --state absent
|
2011-03-15 15:37:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-17 19:28:16 +00:00
|
|
|
`cdist-type__package(7) <cdist-type__package.html>`_
|
|
|
|
|
|
|
|
Full documentation at: <:cdist_docs:`index`>,
|
|
|
|
especially cdist type chapter: <:cdist_docs:`cdist-type`>.
|
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2011-03-15 15:37:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2012-09-21 09:32:04 +00:00
|
|
|
Copyright \(C) 2011-2012 Nico Schottelius. Free use of this software is
|
2011-03-15 15:37:34 +00:00
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|