Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 3.7.5
-
None
-
2
-
RE 2015-07-29, RE 2015-08-26, RE 2015-09-09, Client 2016-05-04
-
Bug Fix
-
Description
In https://projects.puppetlabs.com/issues/2776 a workaround was introduced to restart puppet on Fedora, RHEL, CentOS which restarts puppet on each interface change. The script /etc/NetworkManager/dispatcher.d/98-puppet restarts puppet agents every time a interface goes up or down regardless of the type.
Nowadays with VMs and containers you can get a lot of interface up downs for virtual interfaces. Because of the workaround from #2776 this creates a lot of un-necessary agent restarts.
A workaround of the workaround might be to make a regex blacklist for interface names, e.G. [ 'veht.', 'vibr.', 'docker.*']
A cleaner solution would be to actually monitor /etc/resolv.conf in an agent run, since changes in resolv.conf by agent was the original problem, and not to use NetworkManager for restarts.