Jakov Sosic
unread,Nov 12, 2015, 11:05:05 PM11/12/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users
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?