I should clarify: this is supposed to actually set a value to another 
variable that's used elsewhere in the template, e.g.:
<% case @environment
when "production"
        bucket = "foo.path"
else
        bucket = "bar.path"
end -%>

rewrite ^/images$ http://s3.amazonaws.com/<%= @bucket %>;

etc.
 
This is very simple Ruby code which I would expect to just execute, and it 
did work this way in 2.7, but if something did change from 2.7 to 3.x in 
how Ruby within ERB templates is being handled, I can't find any reference 
to it...   

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d13e9bb9-f63a-4d4f-98e6-efb170e90516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to