Issue #15512 has been updated by eric sorenson. 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 (to_yaml. Can you provide more reproducibility information? Puppet version Ruby version / packager As much manifest info as you can share. Thanks! ---------------------------------------- Bug #15512: puppet resource_type search '*' - differences between yaml and json rendering https://projects.puppetlabs.com/issues/15512#change-69170 Author: Andrew Elwell Status: Needs More Information Priority: Normal Assignee: Andrew Elwell Category: Target version: Affected Puppet version: Keywords: Branch: (blame bodepd...) Trying out his example of puppet resource_type search '*' on a puppetmaster --render-as json returns much less than --render-as yaml <pre> [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 ~]# </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
