13
Sto usando Puppet 2.7 e ho bisogno di convertire un array in elenco separato da virgole.Come convertire l'array in una stringa separata da virgola in Puppet 2.7
$hosts_fqdn= ['host1','host2','host3']
E ho bisogno di convertirlo in risultato desiderato: 'host1,host2,host3'
Immagino che Puppet 3.2 offre un'espressione lambda - reduce
. Ma sfortunatamente ciò non è possibile con 2.7.