tried a couple of ways and gave up for now. first,...
# puppet
n
tried a couple of ways and gave up for now. first, i tried just changing the deferred function to call
inline_epp
sort of like this
Copy code
$token = Deferred('inline_epp', ['<%= File.read("/etc/path/file").chomp %>'])
which results in the same thing — passing the ruby object. then i tried jamming the whole multiline hash into a deferred call to inline_epp, which results in the whole hash getting passed as a ruby object. i guess i could try setting the
content
of the file resource that creates the config file to the entire deferred inline_epp monstrosity. didn't try that yet.