modules for NetworkManager

199 views
Skip to first unread message

Tim Mooney

unread,
Jul 26, 2022, 3:31:55 PM7/26/22
to puppet...@googlegroups.com

Hi All-

How are people using puppet to manage their interfaces and routes with
NetWorkManager?

With the advent of RHEL 9, Red Hat has removed the ability to define
network config using the old flat file method. It had been deprecated
for a couple of major versions, but it's fully removed in RHEL 9.
NetworkManager is the only option now.

I've looked on the Forge and I haven't found a popular, supported module
for managing network config via NetworkManager. Is there a consensus
favorite that I've missed? If not, what are people doing to manage
the network on RHEL 9?

Thanks,

Tim
--
Tim Mooney Tim.M...@ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology / 701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164

Dirk Heinrichs

unread,
Jul 27, 2022, 1:32:46 AM7/27/22
to puppet...@googlegroups.com
Am Dienstag, dem 26.07.2022 um 14:31 -0500 schrieb 'Tim Mooney' via Puppet Users:

If not, what are people doing to manage the network on RHEL 9?

I've always found NM to be of most value on Laptops, where I need to be able to connect to different (WiFi) networks or VPNs every now and then. However, for everything with a "static" (as in "always in the same network") connection, I use systemd-networkd, which can be easily managed through text files.

BTW: Both, NM and systemd-networkd, can be managed with Netplan, which uses simple YAML files for configuration.

HTH...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

Dietrich, Stefan

unread,
Jul 27, 2022, 2:23:43 AM7/27/22
to puppet...@googlegroups.com
Hello,

> With the advent of RHEL 9, Red Hat has removed the ability to define
> network config using the old flat file method. It had been deprecated
> for a couple of major versions, but it's fully removed in RHEL 9.
> NetworkManager is the only option now.

according to the documentation, the old flat file method of ifcfg is still available.
However the default has been switched from ifcfg to NetworkManager format:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/considerations_in_adopting_rhel_9/index#ref_networkmanager-networking_assembly_networking

> I've looked on the Forge and I haven't found a popular, supported module
> for managing network config via NetworkManager. Is there a consensus
> favorite that I've missed? If not, what are people doing to manage
> the network on RHEL 9?

Same here, I have not yet really decided how to handle this.
Either continue to use the old ifcfg format, write a simple module for handling NM or use netplan.
For netplan there is a module available on Forge. This would also allow to have a unified configuration across Ubuntu, Debian and EL-family.

Regards,
Stefan

--
------------------------------------------------------------------------
Stefan Dietrich Deutsches Elektronen-Synchrotron (IT-Systems)
Ein Forschungszentrum der Helmholtz-Gemeinschaft
Notkestr. 85
phone: +49-40-8998-4696 22607 Hamburg
e-mail: stefan....@desy.de Germany
------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages