8
8
metaparams specified here will be passed on to any generated resources,
9
9
so you can purge umanaged resources but set ``noop`` to true so the
10
10
purging is only logged and does not actually happen."
14
14
desc "The name of the type to be managed."
17
17
unless Puppet::Type.type(name)
18
18
raise ArgumentError, "Could not find resource type '%s'" % name
25
25
newparam(:purge, :boolean => true) do
26
26
desc "Purge unmanaged resources. This will delete any resource
27
27
that is not specified in your configuration
28
28
and is not required by any specified resources."
33
33
if [:true, true, "true"].include?(value)
34
34
unless @resource.resource_type.respond_to?(:instances)