lirion
07/26/2024, 3:02 PMOptional[Array[Stdlib::Fqdn]] $domainlist = undef, (which I have defined as a list of domain name strings for the entire environment in hiera)
...and then I'd like to do:
if member($module::domainlist, $facts['networking']['domain']) { echo { 'some_output': ... } }
The "echo" is never visible in the agent output, other echoes do work. Where's the mistake?lirion
07/26/2024, 3:50 PMif $facts['networking']['domain'] in $module::domainlist. And it works.