Hi guys,

I'm having difficulties with create_resources in latest 4.x master/agent combo...

This is the example create_resources call:


  $logstash_configs = hiera_hash('logstash::configfiles', {})
  create_resources('::logstash::configfile', $logstash_configs)


This was working ok in version 3.x, but in version 4 hash is picked up from hiera (verified via notfiy resources), but create_resources doesn't create anything.



I even tried this:

create_resources('::logstash::configfile', {'indexer.conf' => {source => 'puppet:///modules/private/logstash/indexer.conf'}} )

And still file doesn't get created in /etc/logstash/conf.d/


I have similar issues with other modules where I use this kind of create_resources call, so I don't think it's logstash related.



Any ideas?

--
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/5645615A.3000401%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to