example42/puppet-network

vlan example

Closed this issue · 1 comments

Here is a working example of a vlan configuration:

    network::interface { 'ens18.252':
      method          => 'static',
      ipaddress       => '10.10.10.10',
      netmask         => '255.255.255.0',
      type            => 'vlan',
    }

Perhaps you could add that to the documentation? Figuring out by reading the code took me three hours.

Thanks!