On Tue, 2012-08-28 at 14:59 -0700, Roger wrote:
Puppet is taking about 5 minutes per run on a Windows 2008 R2 server.
Here's the breakdown:

config_retrieval 1.638
exec 1.0764
file 320.1297
Total 322.8441

There are only 13 file resources:

4 are directories
2 are small powershell scripts
6 are relatively small text files
1 image file (9K png file)
Are you recursively copying the contents of the directories?

Doing this in puppet can be extremely slow, because puppet has to travel
through the directory trees and create a file resource for each
subdirectory and file in the tree, then sync each file separately.

If you have the ability to put the directories in packages and install
them, or even just put them in a zip archive and unzip them to install
them, you will see much better performance.

Calvin Walton <calvin.walton@kepstin.ca>

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
grouppuppet-users @
postedAug 28, '12 at 9:59p
activeOct 2, '12 at 12:28a



site design / logo © 2022 Grokbase