On Nov 18, 1:56 am, Ian Ward Comfort <icomf...@stanford.edu> wrote:
> On 18 Nov 2010, at 1:06 AM, Owen Smith wrote:
> > --------
> > class testa {
> >  notify {
> >    "note_testa": message => "Test A!";
> >    "note2_testa": message => "Test A take 2!"
> >  }
> > }
>
> > class testb {
> >  notify { "note_testb": message => "Test B!" }
> > }
> >
> > Notify<| tag == "testb" |> -> Notify<| tag == "testa" |>
> >
> > node puptest {
> >  include testa
> >  include testb
> > }
> > ---------
> >
> > ...I would expect
> > to see the following relationships represented:
>
> > Notify[note_testb] -> Notify[note_testa]
> > Notify[note_testb] -> Notify[note2_testa]
> >
> > However, I'm not seeing any relationships between the notifies at all
> > - the graph is disjoint, and the messages appear in any order.
>
> You may be running across something as simple as a slight variation on bug 
> #4560:
>
>        https://projects.puppetlabs.com/issues/4560
>
> In short, implicit tag assignment does not seem to be reliable.

Good call! Putting explicit tag declarations on the resources fixes
the problem. Though the purpose here was to simplify my resource
declarations and factor out certain releationships as a separate
aspect, so this workaround doesn't buy me much.

Given that, I'll call this a bug, and I'll note the relationship to
the issue above. (It's a related issue but different because I'm not
dealing with virtual resources.)

Thanks!
-- O

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to