|author||Dan Prince <firstname.lastname@example.org>||2015-02-04 10:23:55 -0500|
|committer||Dan Prince <email@example.com>||2015-02-04 10:23:55 -0500|
diff --git a/lib/puppet/provider/package/norpm.rb b/lib/puppet/provider/package/norpm.rb
new file mode 100644
@@ -0,0 +1,36 @@
+# Copyright 2015 Red Hat, Inc.
+# All Rights Reserved.
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+Puppet::Type.type(:package).provide :norpm, :source => :rpm, :parent => :rpm do
+ desc "RPM packaging provider that does not install anything."
+ def latest
+ @resource.fail "'latest' is unsupported by this provider."
+ def install
+ def uninstall
+ def update