Skip to content

Instantly share code, notes, and snippets.

@kbarber
Created July 7, 2014 15:02
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 kbarber/0b3b0685f09d2a2ac20d to your computer and use it in GitHub Desktop.
Save kbarber/0b3b0685f09d2a2ac20d to your computer and use it in GitHub Desktop.
diff --git a/puppet/lib/puppet/indirector/catalog/puppetdb.rb b/puppet/lib/puppet/indirector/catalog/puppetdb.rb
index 6bcb50a..7202539 100644
--- a/puppet/lib/puppet/indirector/catalog/puppetdb.rb
+++ b/puppet/lib/puppet/indirector/catalog/puppetdb.rb
@@ -12,6 +12,8 @@ class Puppet::Resource::Catalog::Puppetdb < Puppet::Indirector::REST
end
def save(request)
+ require 'pp'
+ Puppet.warning(request.instance.pretty_inspect)
profile "catalog#save" do
catalog = munge_catalog(request.instance, extract_extra_request_data(request))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment