66. cdist-type__package_pacman(7)

Manage packages with pacman

Nico Schottelius <nico-cdist--@--schottelius.org>

66.1. DESCRIPTION

Pacman is usually used on the Archlinux distribution to manage packages.

66.2. REQUIRED PARAMETERS

None

66.3. OPTIONAL PARAMETERS

name
If supplied, use the name and not the object id as the package name.
state
Either “present” or “absent”, defaults to “present”

66.4. EXAMPLES

# Ensure zsh in installed
__package_pacman zsh --state present

# If you don't want to follow pythonX packages, but always use python
__package_pacman python --state present --name python2

# Remove obsolete package
__package_pacman puppet --state absent

66.6. COPYING

Copyright (C) 2011-2012 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).