53 lines
1.1 KiB
Text
53 lines
1.1 KiB
Text
|
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
|
||
|
-------------------
|
||
|
state::
|
||
|
The state the package should be in, either "present" or "absent"
|
||
|
|
||
|
|
||
|
OPTIONAL PARAMETERS
|
||
|
-------------------
|
||
|
name::
|
||
|
If supplied, use the name and not the object id as the package name.
|
||
|
|
||
|
|
||
|
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
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
|
||
|
SEE ALSO
|
||
|
--------
|
||
|
- cdist-type(7)
|
||
|
- cdist-type__package(7)
|
||
|
|
||
|
|
||
|
COPYING
|
||
|
-------
|
||
|
Copyright \(C) 2012 Nico Schottelius. Free use of this software is
|
||
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|