example42/puppet-network

Enhancement: Recognition of Manual Changes

Opened this issue · 0 comments

When the present code runs, the network configuration files are ensured to be correct. But if an administrator has made a manual change, which is not recorded in the network configuration files, then this module does not recognize that the desired configuration has been subverted, and does not run the 'system restart network' command.

The erroneous network configuration remains.

This could be considered a bug, but it could just as easily be considered a "SA's should know better" issue. Unfortunately, not all of them do.

Ideally, this module would add a 'facts' script, and use it to ensure that the actual values present on the system match those expected, performing any corrective actions, even if that is simply to run a network restart.

Note: There are sufficient irons already in my fire that I do not know if I will be granted the time necessary to implement this enhancement. If anyone else wants to pick it up and run with it, be my guest.