Issue #5369 has been reported by Markus Roberts.
----------------------------------------
Bug #5369: Autorequire loop resolution inadequate
https://projects.puppetlabs.com/issues/5369
Author: Markus Roberts
Status: Accepted
Priority: Normal
Assignee: Markus Roberts
Category:
Target version: Statler
Affected Puppet version: 0.25.0
Keywords:
Branch:
In the following there is an implied dependency (autorequire) between the file
and its parent directory.
<pre>
file { "/tmp/a": ensure => directory }
file { "/tmp/a/b": content => 'foo' }
</pre>
The dependency can be overridden by a direct, explicit contra-dependency:
<pre>
file { "/tmp/a": ensure => directory }
file { "/tmp/a/b": content => 'foo' }
File['/tmp/a'] <- File['/tmp/a/b']
</pre>
But fails with a cycle if the explicit contra-dependency is indirect:
<pre>
file { "/tmp/a": ensure => directory }
file { "/tmp/a/b": content => 'foo' }
file { "/tmp/c": content => 'bar' }
File['/tmp/a'] <- File['/tmp/c'] <- File['/tmp/a/b']
</pre>
--
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.