On Mon, 2012-11-12 at 13:06 +0100, David Schmitt wrote: > Hi, > > I've just upgraded my local test master to 3.0 and wanted to share the ups > and downs. > > * The upgrade went as smooth as could be expected: config.ru migration > tripped me up, but was documented. > * There were still unexpected differences in behaviour which were not > warned by 2.7. In my case I was inspecting variables in templates and in > 3.0 scope.lookupvar now returns nil in some cases. > * Compilation times for my biggest testcase (~3000 collected resources) > dropped from ~110 seconds to ~70 seconds. > * Agent runtime sadly did not improve beyond this: > Nov 12 12:43:31 inhas60228 puppet-master[23884]: Compiled catalog for > inhas60228.eu.boehringer.com in environment david in 78.16 seconds > [...] > Nov 12 12:46:58 inhas60228 puppet-agent[32596]: Caching catalog for > inhas60228.eu.boehringer.com > Nov 12 12:47:36 inhas60228 puppet-agent[32596]: Applying configuration > version '1352720534' > [...] > Nov 12 12:49:47 inhas60228 puppet-agent[32596]: Finished catalog run > in 131.95 seconds
Well, apparently caching catalog is taking around 38 seconds, which should be compared to what it took beforehand (you didn't paste your previours catalog run for this host). This time is not accounted in the catalog run itself, and I believe that's where the agent is now faster, so I don't expect you'll see large catalog run time decrease. This catalog run time is mostly driven by the resource you're managing, and there's no magical bullet in Puppet 3.0 that automatically make calls to the package manager, files, users or services dramatically faster... -- Brice Figureau Follow the latest Puppet Community evolutions on www.planetpuppet.org! -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
