On Thu, 2009-02-19 at 08:23 -0800, Jeff wrote:
> I have two servers with an identical configuration. Let's call them
> 002 and 003. I've narrowed down my problem to the following two blocks
> of puppet code:
>
> file {[
> "/usr/local/jboss/server",
> "/usr/local/ATG/ATG2007.1/home/logs",
> "/usr/local/ATG/ATG2007.1/home/PublishingAgent/data"]:
> owner => "jboss",
> group => "jboss",
> recurse => true,
> }
>
> file { "atg-oracle-ds.xml":
> path => "/usr/local/jboss/server/default/deploy/atg-oracle-
> ds.xml",
> mode => 0644,
> ensure => present,
> content => template("/var/puppet/modules/atg/files/$fqdn/atg-oracle-
> ds.xml.erb"),
> require => Package["ATG"]
> }
>
> Each time they get to the file atg-oracle-ds.xml I get a warning that
> says,
>
> debug: /Class[main]/Node[lsnas003]/Class[atg::config]/File[/usr/local/
> jboss/server/default/deploy]: Not managing more explicit file /usr/
> local/jboss/server/default/deploy/atg-oracle-ds.xml
>
> The difference between the two servers is pretty significant: 002
> pauses and continues its run but 003 hangs.
This is a pure guess: is there a lot of files under those directories in
002 that are not in 003:
"/usr/local/jboss/server",
"/usr/local/ATG/ATG2007.1/home/logs",
"/usr/local/ATG/ATG2007.1/home/PublishingAgent/data"
I've noticed this is a file with recurse, if you happen to have checksum
globally enabled puppetd will compute (and cache) the checksum for each
file beneath those 3 paths. If there are _lots_ of files that can take
time.
If you run puppetd with --debug on 002, maybe you'll see the root cause
of your issue.
--
Brice Figureau
My Blog: http://www.masterzen.fr/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---