I have a hiera configuration that specifies the following hierarchy:

:hierarchy:
  - "nodes/%{::fqdn}"
  - common

In this example, let's say I'm using the puppetlabs ntp module, which has a
parameter called "servers".  I have a list of NTP servers that I want to be
used by all but one node.  On one of my nodes (let's call that node
"agent1"), I want to use the default value for that servers parameter.

If I specify that list of servers in common.yaml, it will be applied to all
of the hosts (including on agent1).  Is there something that I can put in
nodes/agent1.yaml that will force it to use the default parameter value,
while the other hosts use the servers that I specify in common.yaml?  Is
there a way to tell hiera "stop looking for this value", and prevent it
from continuing through the hierarchy?  Even better would be a way to tell
it "stop looking for any value under ntp".

Thanks,

Marc

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to