Issue #3671 has been updated by James Turnbull. Status changed from Closed to Code Insufficient Assigned to changed from Luke Kanies to Markus Roberts Target version changed from queued to 2.6.1
Markus - the ticket is closed against "queued" and the commit doesn't seem to be in master? ---------------------------------------- Refactor #3671: "puppetmasterd --compile" output is all on one line http://projects.puppetlabs.com/issues/3671 Author: Alan Barrett Status: Code Insufficient Priority: Normal Assigned to: Markus Roberts Category: usability Target version: 2.6.1 Affected version: 0.25.4 Branch: luke/tickets/master/2655-default_values_added_to_resources When I run <pre> puppetmasterd --compile myclient.example.net >myclient.yaml </pre> then the YAML data in the output is all one one very long line, like this: <pre> {"data":{"edges":[incredibly long list of stuff],"name":"myclient.example.net","resources":[another long list],"tags":[another long list],"version":"catalog version number","metadata":{"api_version":1},"document_type":"Catalog"} </pre> It would be much nicer if it were formatted to look like ${vardir}/client_yaml/catalog/${nodename}.yaml: <pre> --- &id001 !ruby/object:Puppet::Resource::Catalog aliases: {} applying: false classes: - classname - another::classname - more_class_names_one_per_line edges: - &id252 !ruby/object:Puppet::Relationship source: &id002 !ruby/object:Puppet::Resource catalog: *id001 exported: file: line: parameters: {} [lots more stuff, on many lines, with each line having a reasonable length] </pre> One reason to use the "--compile" option is to compare the output before and after making changes to the manifest, like this: <pre> puppetmasterd --compile myclient.example.net >before.yaml <edit the manifest> puppetmasterd --compile myclient.example.net >after.yaml diff before.yaml after.yaml </pre> and if everything is all on one long line, then the diff output is unreasonably difficult to read. -- 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.
