Hi There,

After a couple of years working with puppet I'm starting to use Hiera as 
ENC with the hiera_include('classes').

Now I'm having problems with the resource ordering. I created a module to 
set up my repos and then use some others modules. My problem is that my 
'common' module must run before the other modules and I don't know how to 
do it in hiera.

My yaml is like

## YAML
---
classes:
  - common
  - ntp
  - zabbix::agent



But this drives me to

Info: Applying configuration version '1429274932'
Notice: /Stage[main]/Zabbix::Agent/Package[zabbix-agent]/ensure: 
current_value absent, should be 2.4.3-1.el6 (noop)
Notice: /Stage[main]/common::Repos/Yumrepo[zabbix]/ensure: current_value 
absent, should be present (noop)

How do I force to the common class to have procedence over the zabbix 
module?  Before using hiera as ENC I would have a -> between the classes 
and an anchor if needed in my manifest, but now I don't have any manifest 
for my nodes. Where can I put it on ?



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b3871574-2193-42fd-b141-2c429bb561c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to