On Thursday, March 8, 2012 7:48:52 AM UTC-8, jcbollinger wrote: > > > > On Mar 7, 8:02 pm, Ramin K <[email protected]> wrote: > > I managed to trigger this behavior when I realized the readline package > in > > the ruby_devel class instead of specifying it. It appears that the > resource > > chain in the rvm class does not include the realized resource. Is this > the > > current expected behavior? > > > I think so. This appears to be a somewhat special case of confusing > parse order with application order. Class['ruby_devel'] does not > actually do anything during resource application -- realizing a > virtual package is strictly a server-side activity. > Package['readline'] belongs to Class['vpackages'], so if you want to > express your order dependency on a class instead of directly on > Package['readline'] then the class to target should be > Class['vpackages']. > > I was inclined to think it was my mistake, but wanted to make sure after looking at a few bugs around virtuals. Thanks for the explanation, that has helped me get it straight in my head. .
Ramin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/3BBBBkx7ttYJ. 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.
