2011-03-14 22:23:32 +00:00
|
|
|
cdist-type__package_pacman(7)
|
|
|
|
=============================
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__package_pacman - Manage packages with pacman
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Pacman is usually used on the Archlinux distribution to manage
|
|
|
|
packages.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
state::
|
2012-02-08 21:16:09 +00:00
|
|
|
The state the package should be in, either "present" or "absent"
|
|
|
|
(the old values "installed" or "removed" will be removed in cdist 2.1).
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
# Ensure zsh in installed
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_pacman zsh --state present
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
# If you don't want to follow pythonX packages, but always use python
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_pacman python --state present --name python2
|
2011-03-14 22:23:32 +00:00
|
|
|
|
|
|
|
# Remove obsolete package
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_pacman puppet --state absent
|
2011-03-14 22:23:32 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
- cdist-type(7)
|
|
|
|
- cdist-type__package(7)
|
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2012-02-08 21:16:09 +00:00
|
|
|
Copyright \(C) 2011-2012 Nico Schottelius. Free use of this software is
|
2011-03-14 22:23:32 +00:00
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|