Hi all,
this used to work in Puppet 2.7, but doesn't in 3.4.3:
<% case @environment
when "production"
foo
else
bar
end -%>
this continues to work:
<%= @environment %> (prints the $environment var as expected).
It almost looks like Ruby isn't getting evaluated at all. Even a simple <%
puts "hello" %> returns a blank line...
Any ideas?
Thanks!
--
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/80d955b9-539d-43ac-96a8-5ece70d58d28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.