Displaying 1 result from an estimated 1 matches for "node1node2node3".
2012 Oct 29
2
array and string
hi all,
I have an array and i would like to convert it into a string format.
e.g.
$server = ["node1", "node2", "node3"]
when I write my puppet codes
exec { "myscript -S $server":
path => XXXX
}
my $server becomes a continual string like: "node1node2node3", instead of
"node1 node2 node3". How can i have a delimiter of space in between the
array item?
thanks!
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.co...