On Thursday, November 12, 2015 at 10:05:05 PM UTC-6, Jakov Sosic wrote:
>
> 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.
>
>
Does the master emit any relevant diagnostics into its log?
Have you tried giving the resource type string without the leading "::"?
IMO, it should work either way, but the example in the docs does not use
the "::".
John
--
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/af3e7298-48ba-4d6b-b8d4-6ce4b1aa5dd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.