Issue #6868 has been updated by Ben Hughes.

Status changed from Unreviewed to Investigating

Does this still happen if you actually specify a full resource for each please?

a la:
<pre>
simple_line{ 'foo1': } -> simple_line{ 'foo2': } -> simple_line{ 'foo3': } -> 
Class["syslog::enable"]
</pre>

Because otherwise you're not instantiating resources I believe, so they're not 
going to be named, so they can't be ordered.
----------------------------------------
Bug #6868: Dependency chain issues
https://projects.puppetlabs.com/issues/6868

Author: Maxim Ianoglo
Status: Investigating
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I have the following dependency chain:
    simple_line{} -> simple_line{} -> simple_line{} -> Class["syslog::enable"]
simple_line is a custom type.

For some reason it does not work as expected. Class["syslog::enable"] shoul be 
"executed" primarily but it is executed randomly.

If I change this consctruction in this way:
    simple_line {
        require => Class["syslog::enable"]
    } ->
    simple_line {
        require => Class["syslog::enable"]
    } ->
    simple_line {
        require => Class["syslog::enable"]
    } -> Class["syslog::enable"]
Everything works as expected.


-- 
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