sHaggY_caT wrote: > Thank you very much for answer. > > Do you may print simple working example? >
$ifaces = split($interfaces, ',') define do::it { $tpl = "<% if has_variable?(\"ipaddress_$name\") -%> The IP address for $name is: <%= ipaddress_$name %> <% end -%> " notice(inline_template($tpl)) } do::it { $ifaces: } -scott -- 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.