On Wednesday, April 18, 2018 at 9:37:50 AM UTC-5, MartinW wrote:
>
>
> Hi John
>
> Thanks for the reply
>
> The hiera is generated by a custom Ruby script. I have tried tweaking it 
> to output both with quotes and without but it didn't help
>


And you should stick with the version that quotes the whole string, but as 
I said before, that's for better protection against potential *other* 
issues, not for solving this one.
 

>
> The end config file on the server is being created with an 
> Ensure_resources statement like this:
>  
>
ensure_resources('icinga2::object::host', 
> lookup('profile::icinga2_master::monitoring::objects::servers'), {'ensure' 
> => 'present'})
>
>
Attributing the config file creation to the ensure_resources() call is like 
attributing your tax preparer's work to his landlord.  Ensure_resources() is 
one way to tell Puppet to engage specific resources to do the job -- in 
this case, resources of type icinga2::object::host.  But that resource type 
belongs to a third-party module, and the problem is in that module and 
specific to it.

We might be able to help you solve the problem or find a better workaround, 
but that starts with you telling us which version of which icinga2 module 
you are using, and where to find it (on the Forge, ideally).


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/be65dd60-26ad-4688-a298-ec66d4222f66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to