$ puppet apply --graph test.pp
produces this graph /Users/david/.puppet/var/state/graphs/relationships.dot,
which shows that /tmp/c3.txt does not require /tmp/c2.txt.
why?
digraph Relationships {
I have this test.pp example on puppet 3.4.3 on OSX 10.9:c2 {'test': }->c3 {'test': }define c1 {notice "+++"file {'/tmp/c1.txt': ensure => present }}define c2 {c1 {$name: }notice "+++"file {'/tmp/c2.txt': ensure => present }}define c3 {notice "+++"file {'/tmp/c3.txt': ensure => present }}running:$ puppet apply --graph test.pp
produces this graph /Users/david/.puppet/var/state/graphs/relationships.dot,
which shows that /tmp/c3.txt does not require /tmp/c2.txt.
why?
$ open -a GraphViz /Users/david/.puppet/var/state/graphs/relationships.dot
no relation between exec1, exec2 and/or exec3.