Add a noop_resource function
authorDan Prince <dprince@redhat.com>
Sat, 21 Jan 2017 01:14:32 +0000 (20:14 -0500)
committerDan Prince <dprince@redhat.com>
Sat, 21 Jan 2017 01:14:32 +0000 (20:14 -0500)
commita3de7c09427e7ff97a85a5665ac98d43d46a4fb4
tree671e2bb123cddddb84578e978793bc7faeeeaef3
parentd16712e040d1f2701df44ce1ae0a1ed634889f0d
Add a noop_resource function

A function to create noop providers (set as the default) for the named
resource. This works alongside of 'puppet apply --tags' to disable
some custom resource types that still attempt to run commands during
prefetch, etc.

Change-Id: Icabdb30369c8ca15e77d169dc441bee8cfd3631f
lib/puppet/parser/functions/noop_resource.rb [new file with mode: 0644]