I have been getting an error message " No matching value for selector param '1'" when ever I use the following code in a class. What is strange is if I run the code directly with "puppet -v filename" where the code is in the filename or I stick the code in the nodes.pp file it works perfectly. When I put it into a class and include in the node it breaks.
$client_env = $hostname ? { /^mr/ => "mirror", default => "UNKNOWN" } info "hostname=[${hostname}], client_env=[${client_env}]" I'm running Puppet 2.6.8, Ruby 1.8.5, and Passenger 2.2.11. Any thoughts? TIA, John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.