The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #15512

puppet resource_type search '*' - differences between yaml and json rendering

Added by Andrew Elwell almost 4 years ago. Updated over 3 years ago.

Status:Needs More InformationStart date:07/13/2012
Priority:NormalDue date:
Assignee:Andrew Elwell% Done:


Target version:-
Affected Puppet version: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


(blame bodepd…)

Trying out his example of puppet resource_type search ‘*’ on a puppetmaster

—render-as json returns much less than —render-as yaml

[root@itgt-puppet ~]# puppet resource_type search '*' --render-as yaml | grep collectd
                              value: collectd_package
                                  value: collectd.
                              value: collectd_package
                              value: collectd-core
                                          value: puppet:///files/collectd/collectd.conf
                                                value: collectd
                                                value: collectd_package
                                    value: /etc/collectd/collectd.conf
                        value: collectd_package
                        value: /etc/collectd.d
                              value: puppet:///files/collectd/cern-itgt.conf
                                    value: collectd
                                    value: collectd_package
                        value: /etc/collectd.d/cern-itgt.conf
                        value: collectd
            &id526 /etc/puppet/manifests/classes/collectd.pp: !ruby/sym done
          file: /etc/puppet/manifests/classes/collectd.pp
[root@itgt-puppet ~]# puppet resource_type search '*' --render-as json | grep collectd
[root@itgt-puppet ~]# 

Related issues

Related to Puppet - Feature #21427: Deprecate YAML for network data transmission Closed


#1 Updated by Ken Barber almost 4 years ago

  • Project changed from Facter to Puppet

#2 Updated by eric sorenson over 3 years ago

  • Status changed from Unreviewed to Needs More Information
  • Assignee set to Andrew Elwell

I did some testing and got equivalent results from yaml and json. Can you provide more reproducibility information?

Puppet version

Ruby version / packager

As much manifest info as you can share.


Also available in: Atom PDF