Resource example

# Configure the following attributes for Ethernet interface 2:

netdev_interface{'ifindex2':
 ifindex => 2,
 ensure => undo_shutdown,
 description => 'puppet interface 2',
 admin => up,
 speed => 1g,
 duplex => auto,
 linktype => hybrid,
 portlayer => route,
 mut => 1500,
 require => Netdev _device['device'],
}