SIMPLE SOLUTIONS

CDIST-TYPE__PACKAGE(7) - man page online | overview, conventions, and miscellany

Manage packages.

Chapter
04/07/2016
CDIST-TYPE__PACKAGE(7)                                                     CDIST-TYPE__PACKAGE(7)

NAME

cdist-type__package - Manage packages

DESCRIPTION

This cdist type allows you to install or uninstall packages on the target. It dispatches the actual work to the package system dependent types.

REQUIRED PARAMETERS

None

OPTIONAL PARAMETERS

name The name of the package to install. Default is to use the object_id as the package name. version The version of the package to install. Default is to install the version chosen by the local package manager. type The package type to use. Default is determined based on the $os explorer variable. e.g. package_apt for Debian package_emerge for Gentoo state Either "present" or "absent", defaults to "present"

EXAMPLES

# Install the package vim on the target __package vim --state present # Same but install specific version __package vim --state present --version 7.3.50 # Force use of a specific package type __package vim --state present --type __package_apt

SEE ALSO

ยท cdist-type(7)

COPYING

Copyright (C) 2011 Steven Armstrong. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).

AUTHOR

Steven Armstrong <steven-cdist--@--armstrong.cc> Author.
04/07/2016 CDIST-TYPE__PACKAGE(7)
This manual Reference Other manuals
cdist-type__package(7) referred by cdist-reference(7) | cdist-type__package_apt(7) | cdist-type__package_emerge(7) | cdist-type__package_emerge_dependencies(7) | cdist-type__package_luarocks(7) | cdist-type__package_opkg(7) | cdist-type__package_pacman(7) | cdist-type__package_pip(7) | cdist-type__package_pkg_freebsd(7) | cdist-type__package_pkg_openbsd(7) | cdist-type__package_rubygem(7) | cdist-type__package_yum(7) | cdist-type__package_zypper(7)
refer to cdist-type(7)