I thought the way to do it might me something like:
<% if @testservers.include? @fqdn %>
environment = test
<% else %>
environment = production
<% end %>
However that blows up complaining that .include is an undefined function.
Our version of puppet is 2.6.16 on the client and 2.7.12 on the
Can anyone help?
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/-/1SMg1cuLUiIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.