Issue #15510 has been updated by Josh Cooper.
The `package` type autorequires its `source`, which makes it surprising that the same is not done for files. ---------------------------------------- Feature #15510: Add implicit dependency for local source https://projects.puppetlabs.com/issues/15510#change-68963 Author: Hunter Haugen Status: Code Insufficient Priority: Normal Assignee: Hunter Haugen Category: Target version: Affected Puppet version: Keywords: Branch: If a file resource has a `source` attribute with a local path, and there is a file resource with a namevar of the same path, then there should be an implicit dependency of the file with the source on the second file. Eg: <pre> file { '/tmp/bar': ensure => present, source => '/tmp/zot', } file { '/tmp/zot': ensure => present, } file { '/tmp/quux': ensure => present, source => '/tmp/bar', } file { '/tmp/baz': ensure => present, source => '/tmp/quux', } </pre> Should have: `/tmp/zot -> /tmp/bar -> /tmp/quux -> /tmp/baz` for dependency chaining. -- 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.
