I am trying to match a string in an ERB template but for what ever reason
it does not work.
<% if has_variable?("apache2_phpmyadmin_url") && apache2_phpmyadmin_url !=
"" then %>
ProxyPass /<%= apache2_phpmyadmin_url %>/ !
<% end %>
The conditional works on has_variable? but the != "" is not getting
evaluated. When the variable is set to "" than the Proxypass is set to /
instead of being left out.
Any ideas what I am doing wrong?
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/ReEPMs9_8w0J.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.