Resource example
# Configure the following attributes for Ethernet interface 2:
Interface description—puppet interface 2.
Management state—Up.
Interface rate—1 Gbps.
Duplex mode—Autonegotiation.
Link type—Hybrid.
Operation mode—Layer 3.
MTU—1500 bytes.
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'], }