Re: [Puppet Users] File optimizations

2012-10-22 Thread Bostjan Skufca
Hi Stephen, On Monday, 22 October 2012 21:28:23 UTC+2, Stephen Gran wrote: > > Turn the question around for a moment: why do you have so many file > resources? > These systems are puppet-controlled from the /etc/inittab through the whole boot process and each and every service startup file def

Re: [Puppet Users] File optimizations

2012-10-22 Thread Bostjan Skufca
Inline On Monday, 22 October 2012 23:28:03 UTC+2, Brice Figureau wrote: > > Hi, > > For development questions, feel free to post in puppet-dev :) > > You're not the first irritated by those md5 computations taking time. > That's something I'd like to really optimize since a lng time. > Tha

Re: [Puppet Users] File optimizations

2012-10-22 Thread Nikola Petrov
On Mon, Oct 22, 2012 at 11:17:52PM +0200, Brice Figureau wrote: > On 23/10/12 01:39, Nikola Petrov wrote: > > On Mon, Oct 22, 2012 at 12:09:45PM -0700, Bostjan Skufca wrote: > >> Hi there, > >> > >> I'm running into slow catalog runs because of many files that are managed. > >> I was thinking abou

Re: [Puppet Users] File optimizations

2012-10-22 Thread Brice Figureau
Hi, For development questions, feel free to post in puppet-dev :) You're not the first irritated by those md5 computations taking time. That's something I'd like to really optimize since a lng time. That's simple quite difficult. On 22/10/12 21:09, Bostjan Skufca wrote: > Hi there, > > I'm

Re: [Puppet Users] File optimizations

2012-10-22 Thread Brice Figureau
On 23/10/12 01:39, Nikola Petrov wrote: > On Mon, Oct 22, 2012 at 12:09:45PM -0700, Bostjan Skufca wrote: >> Hi there, >> >> I'm running into slow catalog runs because of many files that are managed. >> I was thinking about some optimizations of this functionality. >> >> 1: On puppetmaster: >> For

Re: [Puppet Users] File optimizations

2012-10-22 Thread Nikola Petrov
On Mon, Oct 22, 2012 at 12:09:45PM -0700, Bostjan Skufca wrote: > Hi there, > > I'm running into slow catalog runs because of many files that are managed. > I was thinking about some optimizations of this functionality. > > 1: On puppetmaster: > For files with "source => 'puppet:///modules...' p

Re: [Puppet Users] File optimizations

2012-10-22 Thread Stephen Gran
Hi, On Mon, 2012-10-22 at 12:09 -0700, Bostjan Skufca wrote: > Hi there, > > > I'm running into slow catalog runs because of many files that are > managed. I was thinking about some optimizations of this > functionality. Your suggestions look reasonable to me, but I'm not a puppetlabs person, s

[Puppet Users] File optimizations

2012-10-22 Thread Bostjan Skufca
Hi there, I'm running into slow catalog runs because of many files that are managed. I was thinking about some optimizations of this functionality. 1: On puppetmaster: For files with "source => 'puppet:///modules...' puppetmaster should already calculate md5 and send it with the catalog. 2: On