Skip to content

Instantly share code, notes, and snippets.

@jpartlow
Created September 11, 2014 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpartlow/79ac92633586cf4f1b53 to your computer and use it in GitHub Desktop.
Save jpartlow/79ac92633586cf4f1b53 to your computer and use it in GitHub Desktop.
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb
index 5311875..6ccadd8 100644
--- a/lib/puppet/transaction.rb
+++ b/lib/puppet/transaction.rb
@@ -105,6 +105,7 @@ class Puppet::Transaction
overly_deferred_resource_handler = lambda do |resource|
# We don't automatically assign unsuitable providers, so if there
# is one, it must have been selected by the user.
+ return if skip?(resource)
if resource.provider
resource.err "Provider #{resource.provider.class.name} is not functional on this host"
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment