rpm.rb

Path: lib/puppet/provider/package/rpm.rb
Last Update: Fri Aug 03 10:17:44 +0000 2012

Required files

puppet/provider/package  

Methods

Constants

NEVRAFORMAT = "%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}"   The query format by which we identify installed packages
NEVRA_FIELDS = [:name, :epoch, :version, :release, :arch]

Public Class methods

Public Instance methods

Here we just retrieve the version from the file specified in the source.

Find the fully versioned package name and the version alone. Returns a hash with entries :instance => fully versioned package name, and :ensure => version-release

[Validate]