pkg.rb

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

Required files

puppet/provider/package  

Methods

install   instances   latest   parse_line   query   uninstall   update  

Constants

REGEX = %r{^(\S+)\s+(\S+)\s+(\S+)\s+}
FIELDS = [:name, :version, :status]

Public Class methods

defaultfor [:operatingsystem => :solaris, :kernelrelease => "5.11"]

Public Instance methods

install the package

return the version of the package TODO deal with multiple publishers

list a specific package

update the package to the latest version available

[Validate]