|
|
|
@ -1,17 +1,16 @@ |
|
|
|
|
cdist-type__package_pacman(7) |
|
|
|
|
============================= |
|
|
|
|
cdist-type__package_yum(7) |
|
|
|
|
========================== |
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NAME |
|
|
|
|
---- |
|
|
|
|
cdist-type__package_pacman - Manage packages with pacman |
|
|
|
|
cdist-type__package_yum - Manage packages with yum |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION |
|
|
|
|
----------- |
|
|
|
|
Pacman is usually used on the Archlinux distribution to manage |
|
|
|
|
packages. |
|
|
|
|
Yum is usually used on the Fedora distribution to manage packages. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS |
|
|
|
@ -31,13 +30,13 @@ EXAMPLES |
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------- |
|
|
|
|
# Ensure zsh in installed |
|
|
|
|
__package_pacman zsh --state installed |
|
|
|
|
__package_yum zsh --state installed |
|
|
|
|
|
|
|
|
|
# If you don't want to follow pythonX packages, but always use python |
|
|
|
|
__package_pacman python --state installed --name python2 |
|
|
|
|
__package_yum python --state installed --name python2 |
|
|
|
|
|
|
|
|
|
# Remove obsolete package |
|
|
|
|
__package_pacman puppet --state deinstalled |
|
|
|
|
__package_yum puppet --state deinstalled |
|
|
|
|
-------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|