RHEL8: Some interface options do not apply
Closed this issue · 4 comments
srhuston commented
Expected Behavior
- Make change to DNS, DOMAIN, or RES_OPTIONS
- Puppet applies change to files and restarts interface, reflecting change in /etc/resolv.conf
Actual Behavior
- Make change to options as above
- Puppet applies change to files, restarts interface, but does not first tell NetworkManager to reload the config
Steps to Reproduce the Problem
- Make change to DNS, DOMAIN, or options_extra_redhat -> RES_OPTIONS
- Puppet only runs 'nmcli device reapply ${interface}' but not 'nmcli con reload' first to reload configuation
Module version 3.6.0
Tested the below patch and it does the right thing (reloading the configuration and then reapplying the interface change). I don't see any downside to the extra command.
alvagante commented
Can you submit a merge request with the patch, please? In this way your name will remain in the commits history.
srhuston commented
Ah, now you're testing the limits of my git/github abilities! :D
I'll see if I can do that later today.