2011-03-14 22:23:32 +00:00
|
|
|
cdist-type__package_pacman(7)
|
|
|
|
=============================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__package_pacman - Manage packages with pacman
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2012-11-07 18:22:02 +00:00
|
|
|
Pacman is usually used on the Archlinux distribution to manage packages.
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2012-10-07 15:51:15 +00:00
|
|
|
None
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
name
|
2012-02-08 21:16:09 +00:00
|
|
|
If supplied, use the name and not the object id as the package name.
|
2011-03-14 22:23:32 +00:00
|
|
|
|
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
|
|
|
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Ensure zsh in installed
|
|
|
|
__package_pacman zsh --state present
|
2011-03-14 22:23:32 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# If you don't want to follow pythonX packages, but always use python
|
|
|
|
__package_pacman python --state present --name python2
|
2011-03-14 22:23:32 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Remove obsolete package
|
|
|
|
__package_pacman puppet --state absent
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-30 13:12:32 +00:00
|
|
|
:strong:`cdist-type__package`\ (7)
|
2016-06-17 19:28:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2016-08-10 16:15:54 +00:00
|
|
|
Copyright \(C) 2011-2012 Nico Schottelius. 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.
|