Add norpm package provider and helper class.
authorDan Prince <dprince@redhat.com>
Wed, 4 Feb 2015 15:23:55 +0000 (10:23 -0500)
committerDan Prince <dprince@redhat.com>
Wed, 4 Feb 2015 15:23:55 +0000 (10:23 -0500)
commit4acd81ae2bb760b8c72f098fd4f674d43385b96b
tree8f712e9ad4dbcb157ae729f0393410276db7d636
parent994461b45130ed3f6f6981985aeac443b05e11f2
Add norpm package provider and helper class.

This patch adds a new norpm package provider that extends the
Puppet provided default RPM package provider and stubs out
all of the package install, update, purging so that no
packages will get installed. This may be useful when
deploying pre-built images where we effectively just
want to use Puppet for configuration (not installation).

Includes a ::tripleo::package_provider class that will assist
in cleanly disabling package installation via hiera.
lib/puppet/provider/package/norpm.rb [new file with mode: 0644]
manifests/package_provider.pp [new file with mode: 0644]