On Dec 2, 2011 4:03 PM, "Michael Stahnke" <stah...@puppetlabs.com> wrote:
>
> On Fri, Dec 2, 2011 at 1:57 PM, Nigel Kersten <ni...@puppetlabs.com>
wrote:
> >
> >
> > On Fri, Dec 2, 2011 at 7:41 AM, Idar Borlaug <idar.borl...@gmail.com>
wrote:
> >>
> >> Hi
> >>
> >> Just wanted to know if anyhow has a great workaround for modifing user
> >> and group in a folder with 33000 files.
> >> It takes 5 minutes to chmod one file.
> >>
> >> file { "/some/dir" :
> >>     ensure => directory,
> >>     recurse => true,
> >>     group => 'jboss',
> >>     owner => 'jboss'
> >> }
> >>
> >> I am using puppet 2.6.4 on the server, might this be fixed in a later
> >> version?
> >
> >
> > So you're not concerned with the content at all?
> >
> > Puppet should be smarter about this, but does it help to add:
> >
> > checksum => none,
> >
> > to the resource?
> >
> >
> >>
> >>
> >> --
> >> Idar
> >>
> >> --
> >> 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.
> >>
> >
> >
> >
> > --
> > Nigel Kersten
> > Product Manager, Puppet Labs
> >
> >
> >
> > --
> > 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.
>
> There is also a patch in the 2.7.8rc series that addresses some of
> these speed issues.
>
> http://projects.puppetlabs.com/issues/9671
>
> --
> 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.
>

Another option is to create a cronjob that takes care of the chown through
puppet, that way you reduce a lot the time, my 2ยข.

--
Tony
http://www.tonyskapunk.net

-- 
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