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