Hot to set vars.client_endpoint = name with puppet

Hello there,
I’ve got a pretty functional puppet setup for icinga2. Now I’ve just figured out that I have to add

vars.client_endpoint = name

to a certain hosts.conf but I cannot find the keyword for that.
I’ve tryed vars but I’ll end up with a
vars = vars.client_endpoint = name or vars = client_endpoint = name
anyway it will prepend a vars = which seems to have a different meaning (does it?).

I’ve read the whole related reference at https://forge.puppet.com/icinga/icinga2/reference#icinga2objecthost but I couldn’t figure that out.

Any hint would be highly appreciated.
Cheers.

OK, forget about it. That was easy (once you know it …).

vars => { client_endpoint => name, },

1 Like