Issue #4733 has been updated by R.I. Pienaar aka Volcane.
Markus Roberts wrote: > Is there anything special or even mildly noteworthy about the two resources > that fail? nothing. they are created in a big array with 200 others and they're just packages, i dont even have anything in extlookup for them so they will just be 'present'. And since it fails during compile, it's not related to the actual packages, yum or yum meta data etc. ---------------------------------------- Bug #4733: Realizing virtual resources fails http://projects.puppetlabs.com/issues/4733 Author: R.I. Pienaar aka Volcane Status: Investigating Priority: Normal Assignee: Markus Roberts Category: Target version: 2.6.1 Affected version: 2.6.1rc4 Keywords: Branch: I do pacakge installs using this pattern: <pre> define pkg() { $version = extlookup("${name}_pkg", "present") @package{$name: ensure => $version} } </pre> I then have a class: <pre> class packages::virt { pkg{[< a whole lot of packages, 200+ >]: } } </pre> And then I just realize packages where I need them. I am testing 2.6.1rc4 and on a node with 66 packages from this setup 2 are failing during compile: <pre> Sep 7 13:44:26 monitor2 puppet-master[17318]: Failed to realize virtual resources Package[perl-XML-Simple], Package[RubyRRDtool] on node </pre> This comes from <em>P::Parser::Compiler#fail_on_unevaluated_resource_collections</em> but how to debug this I have no idea, I can cause this by simply doing: <pre> puppetmasterd --compile monitor2.pinetecltd.net </pre> I am not seeing anything useful in output from above when run with --debug or/and --trace So I dont know how to reproduce and dont know how to debug further since I know very little about the internals in the compiler class -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
