eyaml and templates

4 views
Skip to first unread message

Stanislav Khromoy

unread,
Aug 21, 2015, 2:11:23 PM8/21/15
to pe-u...@puppetlabs.com

Hi,

I have something like this :

file { '/tmp/eyaml.test': ensure => present, content => $eyamltest, }

file {'/tmp/eyaml.template.test': ensure => present, content =>
template('profile/eyaml.test.erb'), }

profile/eyaml.test.erb looks like this :

|<%= @yamltest %>|

The content gets filled ( and decrypted ) correctly in the first case,
but is blank using the template. is there something I am doing wrong or
is this feature is not supported by eyaml ?


Stanislav Khromoy

unread,
Aug 21, 2015, 2:55:29 PM8/21/15
to pe-u...@puppetlabs.com

this is definitely embarrassing. sure helps when you spell your
variables correctly.

> Stanislav Khromoy <mailto:stanisla...@nypl.org>
> August 21, 2015 at 2:11 PM

SharonNA

unread,
Jan 12, 2021, 10:22:30 PM1/12/21
to pe-u...@puppetlabs.com, pe-users+u...@puppetlabs.com
Please remove me from your mailing list

Virus-free. www.avg.com

--
You received this message because you are subscribed to the Google Groups "Puppet Enterprise Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pe-users+u...@puppetlabs.com.
Visit this group at http://groups.google.com/a/puppetlabs.com/group/pe-users/.


--

Thank you!
Kind Regards,
Sharon Arrey
Reply all
Reply to author
Forward
0 new messages