I've ran into the same issue, often causing my puppet run to state it's 
'Finished' but actually be hanging and not returning back to a shell prompt. 
Not to thread-jack, but I am also interested in this answer. Thanks for raising 
it!

-Mark

On Jan 5, 2011, at 12:11 PM, Sébastien Barthélémy wrote:

> Hello,
> 
> I store camera pictures in a git repository, which became quite big:
> 104 GB for the whole (non-bare) repository.
> 
> I wanted to fix the files permissions, and thought puppet might be the good 
> tool for this (I like its declarative way of simplifying my life).
> 
> I gave it a try, with the following statements
> 
> node "navi" {
> file {
>    "/Users/seb/Pictures/pictures/":
>        mode => 0640,
>        owner => "seb",
>        group => "staff",
>        recurse => true,
>        ignore => ".git"
> }
> file {
>    "/Users/seb/Pictures/pictures/.encfs5/":
>        mode => 0600,
>        owner => "seb",
>        group => "staff",
>        recurse => true,
> }
> file {
>    "/Users/seb/Pictures/pictures/.git/":
>        mode => 0600,
>        owner => "seb",
>        group => "staff",
>        recurse => true,
> }
> file {
>    "/Users/seb/Pictures/pictures/.git/hooks/":
>        mode => 0700,
>        owner => "seb",
>        group => "staff",
>        recurse => true,
> }
> }
> 
> And a call to "sudo puppet -l /tmp/puppet.log ~/statement.pp"
> 
> Well, that was 4 hours ago and since then, ruby is eating 100% of my CPU
> (of one core of my 2.26GHz core 2 duo). From the log file, I can tell that 
> puppet is indeed fixing perms, at a rate lower than one file per 10 seconds.
> 
> I think find, xargs and chmod would take a few minutes at most (will try 
> later).
> 
> Why is puppet so slow at this job? Is there any way I could improve the speed?
> 
> Thanks for any insight.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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