passing string of ip's and want to access each ip at a time
I am passing array of IP address in puppet manifest like this
ips = ["188.8.131.52","184.108.40.206","220.127.116.11"] and want do some operation on each IP address in my type function.
I am getting this error:
Error: Parameter property failed[network/dns/client]: can't convert String into Integer
Then I tried to convert my string to array by
value.split(",") but got:
value.class is array
value is [18.104.22.168.22.214.171.124.9.1].
My goal is to get access to each IP address separately and do ... (more)