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 = ["22.214.171.124","126.96.36.199","188.8.131.52"] 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 [184.108.40.206.220.127.116.11.9.1].
My goal is to get access to each IP address separately and do ... (more)