Issue #14652 has been updated by Nick Lewis.
Looks like this was caused by the deterministic graph traversal work, which was what I suspected. Personally I'm of the mind that it probably ought to work, as it's a vacuous dependency. There is a question of whether the semantics of "x requires y" are "run x only if y completes successfully" or "don't run x if y doesn't complete successfully". The former means this is a failure, the latter allows it. ---------------------------------------- Bug #14652: Resource requiring self fails to apply but does not generate an error, even with --debug https://projects.puppetlabs.com/issues/14652#change-63538 Author: David Gwilliam Status: Unreviewed Priority: Normal Assignee: Category: dependency graph Target version: Affected Puppet version: 2.7.12 Keywords: Branch: class test { file { '/tmp/file1.txt': ensure => present, require => File['/tmp/file1.txt'], } file { '/tmp/file2.txt': ensure => present, require => File['/tmp/file1.txt'], } } The above code generates an obvious cyclical dependency, but does not return an error on `puppet agent -t --debug`, though the following is seen: debug: /Stage[main]/Test/File[/tmp/file1.txt]/require: requires File[/tmp/file1.txt] -- 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.
