Silviu Paragina wrote: > On 02.12.2009 17:39, Thomas Bellman wrote:
>> If you only need it once, you can abuse inline_template() to do it: >> >> $ip_list_arr = split($ip_list, ",") >> $ip_external = inline_template("<%= ip_list_arr[0] %>") > What do you mean by once? It's slow? Or some other reason? The reason is that it's an ugly hack. Each place in your manifests that you use something like the above construct, will cause some pain in those who read the manifests when they see the ugliness. So, how many times do you want to inflict that pain on your fellow sysadmins? :-) /Bellman -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.