On 02/20/2013 09:36 AM, Paul Tötterman wrote:
>     This works, but I'm not sure it's the best way about going about it.
>     I'm trying to define host groups in my site.pp file in such a way
>     that when puppet runs on my nodes, they "know" their functional role
>     and are configured accordingly.
> 
> 
> May I suggest that you look into using a node classifier (ENC) or at
> least hiera to separate data from code?

More to the point: The funcionality underneath your current pattern
(i.e. dynamic variable scoping) is deprecated in puppet 2.7 and (as I
understand) is going away in puppet 3.

There is good reason for that. It was a manifest design nightmare (where
things ceased being as simple as variables declared on node level). Do
not use.

Cheers,
Felix

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to