Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
2
-
2019-11-27, 2019-12-11, 2019-12-24, NW - 2020-01-22, NW - 2020-02-05
-
Enhancement
-
When managing a user/group resource with forcelocal set, Puppet would read /etc/passwd or /etc/group for each parameter of the resource. Now the files are being read once per managed resource.
-
Needs Assessment
Description
If an user resource has the forcelocal parameter set, the /etc/passwd file is being read once per user resource per managed parameter (until it finds a match). We could read /etc/passwd once per user resource without too much difficulty. Reading it once per transaction is also a possibility but users could be created mid-transaction...
https://github.com/puppetlabs/puppet/pull/7768/files#r340883318