Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Are there any plans to support netplan with Ubuntu 18? #203

Closed
mdwheele opened this issue Feb 5, 2018 · 4 comments
Closed

Are there any plans to support netplan with Ubuntu 18? #203

mdwheele opened this issue Feb 5, 2018 · 4 comments

Comments

@mdwheele
Copy link

mdwheele commented Feb 5, 2018

Related: https://wiki.ubuntu.com/Netplan, https://wiki.ubuntu.com/MigratingToNetplan

If there is a better place for this type of question, let me know and I can close.

Netplan is an abstraction over NetworkManager / networkd. It uses YAML configuration files to specify supported backends and renders configs. It currently is released on Ubuntu 17.10 and will ship with Ubuntu 18.04 LTS.

Where does this module fit in that landscape? Would the advice be to disable management abstractions like Netplan and rely on the module? Or would expanding scope of this module to manage Netplan, itself (for Ubuntu systems) be a reasonable approach?

Mostly interested in discussion; no specific issue to report.

@alvagante
Copy link
Member

Sorry for late reply here @mdwheele
Intriguing question actually, will the "old" way of managing network settings still be supported in Ubuntu 18.04? If so , the module can still do its job , and it's up to the user to decide if to use netplan or not. If not, being this a modules supposed to manage network, specific support should be added.

@brwyatt
Copy link

brwyatt commented Apr 29, 2018

The "old" way can technically still be used, as long as ifupdown is installed. Netplan also comes with a set of scripts to convert the old configs to netplan.

However, I don't believe it would be too difficult to generate the netplan config yaml file, and then set the $service_restart_exec to simply netplan apply.

alvagante added a commit that referenced this issue Aug 23, 2018
#203 Added support for Ubuntu 1804 (legacy networking without netplan)
@alvagante
Copy link
Member

Support for legacy netowrking in Ubuntu 1804 is now present. Netplan configurations not supported.

alvagante added a commit that referenced this issue Aug 28, 2019
@alvagante
Copy link
Member

Netplan support will be added in version 4 of the module.
https://github.com/example42/puppet-network/blob/version4/manifests/netplan/interface.pp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants