On Wed, Oct 10, 2012 at 10:42 AM, Thomas Bendler <thomas.bend...@gmail.com> wrote: > 2012/10/10 Jeff McCune <j...@puppetlabs.com> >> >> I haven't seen this specific issue yet. >> [...] > > > I saw this issue after an upgrade to 3.0.0 when I used manifests with a > package/service definition inside. Unfortunately I didn't had the time to > investigate this issue, so no solution from my side ... currently. But maybe > some logic around these types has changed. > > Regards, Thomas > -- > Linux ... enjoy the ride! > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.
Can add the following to lib/puppet/indirector/rest.rb:61 Puppet.debug(content_type) Puppet.debug(body.inspect) Then run puppet agent --test --debug, and you should see output like: Debug: text/pson Debug: "{\"data\":{\"classes\":[\"settings\"],\"environment\":\"production\",\"name\":\"sirrus.puppetlabs.lan\",\"edges\":[{\"target\":\"Class[Settings]\",\"source\":\"Stage[main]\"},{\"target\":\"Class[main]\",\"source\":\"Stage[main]\"}],\"tags\":[\"settings\"],\"version\":1349894170,\"resources\":[{\"exported\":false,\"title\":\"Settings\",\"tags\":[\"class\",\"settings\"],\"type\":\"Class\"},{\"exported\":false,\"title\":\"main\",\"parameters\":{\"name\":\"main\"},\"tags\":[\"class\"],\"type\":\"Class\"},{\"exported\":false,\"title\":\"main\",\"parameters\":{\"name\":\"main\"},\"tags\":[\"stage\"],\"type\":\"Stage\"}]},\"metadata\":{\"api_version\":1},\"document_type\":\"Catalog\"}" I think puppet agent is expecting yaml, and is either receiving json or otherwise can't parse the yaml it's receiving. We made performance improvements in Puppet 3 relating to yaml parsing, so perhaps that is the issue. Can you post your output and puppet.conf as gists? Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.