Hi People,

Let's imagine a scenario where I have multiple nodes, a very simple 
hierarchy:

 - nodes/%{fqdn}
 - roles/%{role}
 - common

So what I am trying to achieve is for instance a class 'foo' is always 
included in 'common.yaml' and all the nodes will have that class included 
by default, but I want a specific node to have that class excluded or 
disabled. How do I do that?

I use hiera to include classes, for example my common.yaml looks like:

---
classes:
 - foo


I was told on #puppet IRC channel that there is a metaparameter called 
'noop' which can be passed to already created class, but what hiera does is 
just a simple alternative to 'include foo', so I cannot really pass any 
metaparameters to my classes when including them with hiera.

What other alternatives do I have?

Thanks,
Vaidas

-- 
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/-/7llgTGOOpmgJ.
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.

Reply via email to