On 10/05/2010 06:58 PM, Trevor Vaughan wrote:
You might want to try running the client with --evaltrace for
additional information.
Thanks. This didn't help much, as it's only printing out the information
after the resource evaluation, so I still have no idea what it's doing
when it gets stuck. However I've instrumented the catalog application
with unroller (suggestions for more appropriate tools welcome) and I'm
currently waiting for it to get to the interesting parts (unroller slows
things down much).
That said, I've also tried to figure out which part of my configuration
causes the issue. It turns out that if I comment out the include of this
class: http://paste.lisp.org/display/115229 in my node definition the
problem goes away. The class definition is an exact copy of my actual
definition, except for the s/<string>/foo/g. There is an interesting
coincidence here; my node definition is basically
node 'fqdn' inherits managed_node {
$openntpd_server = 'ntp.fpc.local'
include openntpd
include foohier
}
where
node managed_node {
include util_packages
ssh_authorized_key { "u...@host":
user => 'root',
ensure => present,
type => 'ssh-rsa',
key => 'AAAA...==',
}
user { "www-sync":
ensure => present,
allowdupe => false,
uid => <numeric id>,
}
}
and
class util_packages {
$packagelist = [8 packages with minimal dependencies]
package { $packagelist:
ensure => installed
}
}
notice that, by mistake, I'm not requiring User["www-sync"] in foohier.
The last line puppetd prints before it gets stuck is always:
info: /Stage[main]//Node[managed_node]/User[www-sync]: Evaluated in 0.00
seconds
I have no idea if this could be relevant. I very much expect this to be
a particularly creative error on my part, but of course this failure
mode is less than desirable :-)
TIA for any hints,
Aggelos
--
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.