Dear all,
suddenly I found the solution:
network_interface::device_list:
eth0:
ipaddr: 10.112.67.40
netmask: 255.255.0.0
eth1:
ipaddr: 10.15.67.40
netmask: 255.255.0.0
class network_interface (
$device_list={}
){
create_resources('network_interface::managed_interface',$device_list,{})
}
define network_interface::managed_interface(
$device=$title,
$gateway='',
$hostname='',
$hwaddr='',
$ipaddr='',
$netmask='',
$network='',
$up=true,
){
Best regards
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/602cdbed-b7dc-4879-b80f-99d4f8a8df46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.