Doing create_resources('file',hiera_hash('input'))
works great for some hiera like
input:
/tmp/a.txt:
owner: root
ensure: file
...
Im not able to put any template() stuff in there
input:
/tmp/a.txt:
owner: root
ensure: file
content: template("create_re/aha.erb")
Instead of doing the template lookup. The content of the file is
'template("create_re/aha.erb")'
Any way to dynamically (hiera) define the templates?
Regards
Erkan
--
über den grenzen muß die freiheit wohl wolkenlos sein
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/1ViPtj-0001TZ-1c%40linsenraum.de.
For more options, visit https://groups.google.com/groups/opt_out.