On Tue, Aug 3, 2010 at 12:03 PM, Douglas Garstang <[email protected]> wrote: > The yaml specification says that yaml can either be formatted with > indentation, AND/OR with curly braces. > Does puppet handle the output from an external node script dumping > yaml output with curly braces? > > The python yaml library's yaml.dump() function seems to mix and match > both types.
do you mean the default_flow_style for yaml.dump Douglas? I don't remember having any problems with either format when dumping from python to be loaded by ruby with either option in the past, but I do have default_flow_style=False for my external node script. > > Doug > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" 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-users?hl=en. > > -- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
