simpler example, showing the transivity in resource dependencies. (as opposed to no transivity in class dependencies<https://groups.google.com/d/msg/puppet-users/EyLfxkZHx5U/vcCQw8NA68sJ> by default)
d3 {'test': } define d1 { exec { exec1: command => '/bin/echo exec1; exit 1' } } define d2 { d1 {$name: } } define d3 { d2 {$name: } -> exec { exec3: command => '/bin/echo exec3; exit 1' } } $ puppet apply test.pp Notice: /Stage[main]//D3[test]/D2[test]/D1[test]/Exec[exec1]/returns: exec1 Error: /bin/echo exec1; exit 1 returned 1 instead of one of [0] Error: /Stage[main]//D3[test]/D2[test]/D1[test]/Exec[exec1]/returns: change from notrun to 0 failed: /bin/echo exec1; exit 1 returned 1 instead of one of [0] Notice: /Stage[main]//D3[test]/Exec[exec3]: Dependency Exec[exec1] has failures: true Warning: /Stage[main]//D3[test]/Exec[exec3]: Skipping because of failed dependencies -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0ae75c3f-2391-42d0-bbe4-7a342085c188%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.