This is just for testing purposes, so the example might be bad but I just want to know how to do it.
So in puppet i have `$test_list = ['machineA','machineB','machineC']
How can I make write the following if loop in puppet?
if $::fqdn in $test_list: do something
[link] [comments]