2012-06-15 08:23:19 +00:00
|
|
|
cdist-type__package_zypper(7)
|
|
|
|
=============================
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__package_zypper - Manage packages with zypper
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Zypper is usually used on the SuSE distribution to manage packages.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2012-10-07 15:51:15 +00:00
|
|
|
None
|
2012-06-15 08:23:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
|
|
|
name::
|
|
|
|
If supplied, use the name and not the object id as the package name.
|
|
|
|
|
2012-10-07 15:51:15 +00:00
|
|
|
state::
|
2012-11-07 17:15:15 +00:00
|
|
|
Either "present" or "absent", defaults to "present"
|
2012-10-07 15:51:15 +00:00
|
|
|
|
2013-12-10 15:57:02 +00:00
|
|
|
ptype::
|
|
|
|
Either "package", "patch", "pattern", "product" or "srcpackage", defaults to "package". For a description see man zypper.
|
|
|
|
|
2012-06-15 08:23:19 +00:00
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
# Ensure zsh in installed
|
|
|
|
__package_zypper zsh --state present
|
|
|
|
|
|
|
|
# If you don't want to follow pythonX packages, but always use python
|
|
|
|
__package_zypper python --state present --name python2
|
|
|
|
|
|
|
|
# Remove package
|
|
|
|
__package_zypper cfengine --state absent
|
2013-12-10 15:57:02 +00:00
|
|
|
|
|
|
|
# install all packages which belongs to pattern x11
|
|
|
|
__package_zypper x11 --ptype pattern --state present
|
2012-06-15 08:23:19 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
- cdist-type(7)
|
|
|
|
- cdist-type__package(7)
|
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2013-12-11 13:43:35 +00:00
|
|
|
Copyright \(C) 2013 Nico Schottelius. Free use of this software is
|
2012-06-15 08:23:19 +00:00
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|