Hi All,

Simple question (hopefully). Say I have this:

common.yaml:

foo:
   bar: 10GB

... and in the manifest:

$config = hiera('foo')

file { '/etc/foo.conf':
   content => template('module/foo.erb')
}

... and in foo.erb:

file_size: <%= @config['bar'] %>

For some reason, the output in /etc/foo.conf will be '10GB' on its own
line, instead of 'file_size: 10GB'. Almost as if there is a funny character
in there?

Any ideas?

Thanks.
Gonzalo

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to