rpm.rb

Path: lib/puppet/provider/package/rpm.rb
Last Update: Wed Dec 09 12:54:29 -0800 2009

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]