Issue #5789 has been updated by Gary Larizza. Branch set to https://github.com/glarizza/puppet-1/tree/feature/2.7.x/launchd_optimization
I've took the community member's code and, with help from Nan, created a method of using prefetching/caching to fix this problem (see topic branch). I have spec tests failing, however, and haven't been able to fix them. I'm fairly certain that this code works well, but I need some help with the spec tests and testing (especially on 10.5 clients). ---------------------------------------- Bug #5789: launchd provider parses all plists twice, and uses too much CPU https://projects.puppetlabs.com/issues/5789 Author: Nigel Kersten Status: Accepted Priority: Normal Assignee: Gary Larizza Category: provider Target version: 2.7.x Affected Puppet version: Keywords: mac launchd service provider Branch: https://github.com/glarizza/puppet-1/tree/feature/2.7.x/launchd_optimization We shouldn't be parsing everything twice, and it appears that piping to /dev/stdout is particularly slow on OS X. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
