On Thu, Mar 12, 2009 at 06:51:59PM +1100, Lindsay Holmwood wrote:
> 
> On 12/03/2009, at 18:41, barrowkwan <barrowk...@gmail.com> wrote:
> 
> >
> > looks like the following could cause high cpu usage and take
> > puppet longer time to finish a catalog run
> >
> >
> >    file { "/some/path":
> >        owner => "user1",
> >        group => "group1",
> >        ensure => directory,
> >        recurse => true
> >    }
> >
> > especially when /some/path contain lot of files and
> > sub-directories...
> >
> > anyone have the same problem?
> 
> 
> Yes, and it's totally reasonable for it to.
> 
> Puppet has to do a stat and md5sum on every file under that path,

It *what*?  Just for an owner and group check?  Why?

Can that be turned off?  We got a lot of performance out of cfengine
at work by telling it to use mtime instead of checksumming?

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm thinking:  "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to