summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-17 17:44:34 +0000
committerGerrit Code Review <review@openstack.org>2017-02-17 17:44:34 +0000
commitc78806286a7f169de7393a7bef091ece82577791 (patch)
tree75aa805795ec7ce32d9fff4ff69ed0e2ce51d194
parent3cea0982f96a523cfb8fa6bc323932636d193ddb (diff)
parentbb9dba181965e101f586240462ff72f882f7ae90 (diff)
Merge "Add virtual_packages support to norpm provider"
-rw-r--r--lib/puppet/provider/package/norpm.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/provider/package/norpm.rb b/lib/puppet/provider/package/norpm.rb
index 0764265..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