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

NAME

6       cdist-type__package_zypper - Manage packages with zypper
7

DESCRIPTION

9       Zypper is usually used on the SuSE distribution to manage packages.
10

REQUIRED PARAMETERS

12       None
13

OPTIONAL PARAMETERS

15       name   If  supplied,  use the name and not the object id as the package
16              name.
17
18       state  Either "present" or "absent", defaults to "present"
19
20       version
21              The version of the package to install. Default is to install the
22              version  chosen  by  the  local  package  manager. For a list of
23              available versions, have a look at the output of "zypper  se  -s
24              packagename"
25
26       ptype  Either "package", "patch", "pattern", "product" or "srcpackage",
27              defaults to "package". For a description see man zypper.
28

EXAMPLES

30          # Ensure zsh is installed
31          __package_zypper zsh --state present
32
33          # If you don't want to follow pythonX packages, but always use python
34          __package_zypper python --state present --name python2
35
36          # Ensure binutils is installed and the version is forced to be 2.23.1-0.19.2
37          __package_zypper binutils --state present --version 2.23.1-0.19.2
38
39          # Remove package
40          __package_zypper cfengine --state absent
41
42          # install all packages which belongs to pattern x11
43          __package_zypper x11 --ptype pattern --state present
44

SEE ALSO

46       cdist-type__package(7)
47

AUTHORS

49       Daniel Heule <hda--@--sfs.biz>
50

COPYING

52       Copyright (C) 2012 Nico Schottelius.  Copyright (C) 2013 Daniel  Heule.
53       You  can  redistribute  it  and/or modify it under the terms of the GNU
54       General Public License as published by the  Free  Software  Foundation,
55       either version 3 of the License, or (at your option) any later version.
56
58       ungleich GmbH 2021
59
60
61
62
637.0.0                            Jul 31, 2022    CDIST-TYPE__PACKAGE_ZYPPER(7)
Impressum