Re: [Puppet Users] hash to_yaml in erb template not giving valid yaml

2012-07-05 Thread Stefan Schulte
On Thu, Jul 05, 2012 at 05:43:10PM +0200, Martin Willemsma wrote: > Hi, > > I want to use a file resource to write a facts.yaml file for > Mcollective. For some reason it won't provide a valid yaml format if I > dump my scope to hash and convert to_yaml. > > file { > "/etc/mco

[Puppet Users] hash to_yaml in erb template not giving valid yaml

2012-07-05 Thread Martin Willemsma
Hi, I want to use a file resource to write a facts.yaml file for Mcollective. For some reason it won't provide a valid yaml format if I dump my scope to hash and convert to_yaml. file { "/etc/mcollective/facts.yaml" : owner => root,