.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__PACKAGE_YUM" "7" "Jun 23, 2019" "5.1.2" "cdist" . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH NAME .sp cdist\-type__package_yum \- Manage packages with yum .SH DESCRIPTION .sp Yum is usually used on the Fedora distribution to manage packages. If you specify an unknown package, yum will display the slightly confusing error message "Error: Nothing to do". .SH REQUIRED PARAMETERS .sp None .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B name If supplied, use the name and not the object id as the package name. .TP .B state Either "present" or "absent", defaults to "present" .TP .B url URL to use for the package .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C # Ensure zsh in installed __package_yum zsh \-\-state present # If you don\(aqt want to follow pythonX packages, but always use python __package_yum python \-\-state present \-\-name python2 # Remove obsolete package __package_yum puppet \-\-state absent __package epel\-release\-6\-8 \e \-\-url http://mirror.switch.ch/ftp/mirror/epel/6/i386/epel\-release\-6\-8.noarch.rpm .ft P .fi .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBcdist\-type__package\fP(7) .SH AUTHORS .sp Nico Schottelius <\fI\%nico\-cdist\-\-@\-\-schottelius.org\fP> .SH COPYING .sp Copyright (C) 2011\-2012 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .SH COPYRIGHT ungleich GmbH 2019 .\" Generated by docutils manpage writer. .