Issue #4733 has been updated by R.I. Pienaar aka Volcane.

I was trying to find a way to duplicate this with a simple manifest and noticed 
that current master works while tag 2.6.1rc4 doesnt.

Might help track it down, 
----------------------------------------
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.

Reply via email to