Libraries »
puppetlabs-package (3.1.0)
»
Index (l) »
Puppet Tasks
»
linux
Puppet Task: linux
Defined in:
tasks/linux.json,
tasks/linux.rb
Overview
Manage and inspect the state of packages (without a puppet agent)
Supports noop? false
Parameters
action(Enum[install, status, uninstall, upgrade])
— The operation (install, status, uninstall and upgrade) to perform on the package.
name(String[1])
— The name of the package to be manipulated.
manager_options(Optional[String[1]])
— options to be sent to the package manager
version(Optional[String[1]])
— Version numbers must match the full version to install, including release if the provider uses a release moniker. Ranges or semver patterns are not accepted except for the gem package provider. For example, to install the bash package from the rpm bash-4.1.2-29.el6.x86_64.rpm, use the string '4.1.2-29.el6'.
provider(Optional[String[1]])
— The provider to use to manage or inspect the package, defaults to the system package manager. Only used when the 'puppet-agent' feature is available on the target so we can leverage Puppet.