Jira (PUP-10117) Read /etc/passwd once per user resource if forcelocal is set

18 views
Skip to first unread message

Gabriel Nagy (JIRA)

unread,
Oct 31, 2019, 8:19:03 AM10/31/19
to puppe...@googlegroups.com
Gabriel Nagy created an issue
 
Puppet / Improvement PUP-10117
Read /etc/passwd once per user resource if forcelocal is set
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/10/31 5:18 AM
Priority: Normal Normal
Reporter: Gabriel Nagy

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Mihai Buzgau (JIRA)

unread,
Nov 5, 2019, 8:36:04 AM11/5/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Nov 14, 2019, 6:19:04 AM11/14/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Nov 14, 2019, 6:19:05 AM11/14/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR 2019 - Triage 11-27

Gabriel Nagy (JIRA)

unread,
Nov 22, 2019, 4:20:05 AM11/22/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Nov 27, 2019, 4:51:09 AM11/27/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: 2019-11-27 , 2019-12-11

Mihai Buzgau (JIRA)

unread,
Dec 11, 2019, 4:34:07 AM12/11/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: 2019-11-27, 2019-12-11 , 2019-12-24

Mihai Buzgau (JIRA)

unread,
Jan 7, 2020, 4:26:05 AM1/7/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: 2019-11-27, 2019-12-11, 2019-12-24 , NW - 2020-01-22

Mihai Buzgau (JIRA)

unread,
Jan 22, 2020, 4:39:09 AM1/22/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: 2019-11-27, 2019-12-11, 2019-12-24, NW - 2020-01-22 , NW - 2020-02-05

Gabriel Nagy (JIRA)

unread,
Jan 22, 2020, 7:43:04 AM1/22/20
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Release Notes Summary: 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.
Release Notes: Enhancement

Kate Medred (JIRA)

unread,
Feb 18, 2020, 12:13:06 PM2/18/20
to puppe...@googlegroups.com
Kate Medred updated an issue
Change By: Kate Medred
Labels: resolved-issue-added
Reply all
Reply to author
Forward
0 new messages