On 12/20/2010 05:55 PM, rjl wrote:
> I have take it out of the case statement to try to resolve the
> problem. Here is an example. I receive the same error from this...
> 
> $tmp = "deving0109.cdntools.nsatc.net"
> node "${tmp}" { include adm }
> 
> But this works just fine...
> node "deving0109.cdntools.nsatc.net" { include adm }

Well, I'm stumped. Maybe variable substition is just not meant to work
for node declarations.

I still don't see what you need it for. Your earlier post is a very good
depiction of how to choose a node's role based on a fact: Do it by
selecting the class(es) to include based on the fact value. Do not try
and select a node declaration based on a fact instead.

Or am I still missing part of your intent?

Cheers,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to