Issue #20787 has been updated by Matthaus Owens.

Status changed from Merged - Pending Release to Closed

Released in Puppet 3.2.3-rc1.

----------------------------------------
Bug #20787: 'puppet resource group'  takes incredibly long on Windows
https://projects.puppetlabs.com/issues/20787#change-94902

* Author: Ruth Linehan
* Status: Closed
* Priority: High
* Assignee: 
* Category: windows
* Target version: 3.2.3
* Affected Puppet version: 2.7.6
* Keywords: windows, windows 2008 r2
* Branch: https://github.com/puppetlabs/puppet/pull/1663
----------------------------------------
on Windows 2008 R2, running Puppet 3.2.0 (Puppet Enterprise 
3.0.0-debian-preview4-52),  `puppet resource group` takes ~100 seconds.

Josh Cooper noted that this seems to be because we are using ADSI to enumerate 
user's groups and groups' members, and we should use Win32 APIs instead.  
Changing Puppet::Util::ADSI::User#groups (line 125) and 
Puppet::Util::ADSI::Groups#members (line 25) to return empty arrays cut the 
time in half.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to