Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid picking up users retrieved from SSSD or other domain services. #101

Merged
merged 2 commits into from
Dec 14, 2017
Merged

Conversation

tprobinson
Copy link
Contributor

When using this module with my SSSD configuration, the fact took a really long time to resolve. Excluding users with @ in their name fixed this, as those users can't be managed by Puppet anyway.

@tprobinson
Copy link
Contributor Author

Forgot to mention -- this also fixes an error caused by domain users not always having assigned UIDs:

Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/retrieve_system_users.rb: undefined method `to_i' for :absent:Symbol

@artem-sidorenko
Copy link
Member

@mcgege @bitvijays as it goes into the deep of puppet, may I ask you to review it?

@artem-sidorenko
Copy link
Member

@tprobinson many thanks for this PR!

@mcgege
Copy link
Member

mcgege commented Nov 22, 2017

Looks good for me ... also verified the patch in my environment

@artem-sidorenko
Copy link
Member

@tprobinson many thanks!
@mcgege thanks for reviewing!

@artem-sidorenko artem-sidorenko merged commit c0ac451 into dev-sec:master Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants