Issue #3671 has been reported by Alan Barrett.
----------------------------------------
Refactor #3671: "puppetmasterd --compile" output is all on one line
http://projects.puppetlabs.com/issues/3671
Author: Alan Barrett
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.4
Branch:
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 nice if it were formatted to look like
${vardir}/client_yaml/catalog/${nodename}.yaml.
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 one 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.