1CDIST-TYPE__PACKAGE_YUM(7)           cdist          CDIST-TYPE__PACKAGE_YUM(7)
2
3
4

NAME

6       cdist-type__package_yum - Manage packages with yum
7

DESCRIPTION

9       Yum  is usually used on the Fedora distribution to manage packages.  If
10       you specify an unknown package, yum will display the slightly confusing
11       error message "Error: Nothing to do".
12

REQUIRED PARAMETERS

14       None
15

OPTIONAL PARAMETERS

17       name   If  supplied,  use the name and not the object id as the package
18              name.
19
20       state  Either "present" or "absent", defaults to "present"
21
22       url    URL to use for the package
23

EXAMPLES

25          # Ensure zsh in installed
26          __package_yum zsh --state present
27
28          # If you don't want to follow pythonX packages, but always use python
29          __package_yum python --state present --name python2
30
31          # Remove obsolete package
32          __package_yum puppet --state absent
33
34          __package epel-release-6-8 \
35              --url http://mirror.switch.ch/ftp/mirror/epel/6/i386/epel-release-6-8.noarch.rpm
36

SEE ALSO

38       cdist-type__package(7)
39

AUTHORS

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

COPYING

44       Copyright (C) 2011-2012  Nico  Schottelius.  You  can  redistribute  it
45       and/or  modify  it under the terms of the GNU General Public License as
46       published by the Free Software Foundation, either version 3 of the  Li‐
47       cense, or (at your option) any later version.
48
50       ungleich GmbH 2021
51
52
53
54
557.0.0                            Jul 31, 2022       CDIST-TYPE__PACKAGE_YUM(7)
Impressum