Is there a way to display eth{0-5} as well?
IP: <%= scope.to_hash.inject([]) { |acc, (k,v)| acc << v if k =~ /^ipaddress_/; acc }.join(', ') %>
Regards,
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
--
Torbj�rn Norinder
Campanja AB
Kammakargatan 9A
11140 Stockholm
Map: http://ow.ly/NUlS
www.campanja.com