network configuration using netplan.io
interface and routes configuration using netplan.io
- Creates files on /etc/netplan, can optionally delete unmanaged files
- Reloads configuration automatically
Use netplan::interface and netplan::route to configure interfaces and network routes
netplan::interface { 'enp0s3':
dns => [ '1.1.1.1', '8.8.8.8' ],
}
netplan::route { '69.69.69.0/24':
gw => '192.168.56.1',
dev => 'enp0s8',
}
netplan::route { '69.69.70.0/24':
gw => '192.168.56.1',
dev => 'enp0s8',
}
TODO
Tested on Ubuntu 18.04
We are pushing to have acceptance testing in place, so any new feature should have some test to check both presence and absence of any feature
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request