diff options
Diffstat (limited to 'lib/puppet/provider/package/norpm.rb')
-rw-r--r-- | lib/puppet/provider/package/norpm.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/puppet/provider/package/norpm.rb b/lib/puppet/provider/package/norpm.rb index 1616e57..080b138 100644 --- a/lib/puppet/provider/package/norpm.rb +++ b/lib/puppet/provider/package/norpm.rb @@ -17,6 +17,8 @@ require 'puppet/provider/package' Puppet::Type.type(:package).provide :norpm, :source => :rpm, :parent => :rpm do desc "RPM packaging provider that does not install anything." + has_feature :virtual_packages + def latest @resource.fail "'latest' is unsupported by this provider." end @@ -33,4 +35,12 @@ Puppet::Type.type(:package).provide :norpm, :source => :rpm, :parent => :rpm do true end + def purge + true + end + + def self.instances + return [] + end + end |