Issue #7728 has been updated by Daniel Pittman.
Side note: the "fix" for this was to track down the two parts of `puppet/transaction.rb` that generated those messages, then introduce special, local handling of the whit object. I think that special-casing that is the right resolution for the RC process, and massaging the output to something sane. The more correct, larger, fix should probably target 2.7.1 and/or the next major release following. ---------------------------------------- Bug #7728: Resource failure leads to multiple, somewhat confusing warnings and notices https://projects.puppetlabs.com/issues/7728 Author: Matt Robinson Status: Accepted Priority: Normal Assignee: Daniel Pittman Category: error reporting Target version: 2.7.0 Affected Puppet version: 2.7.0rc3 Keywords: Branch: If a simple file resource fails. file { '/tmp/nonexistentdir/food': content => 'zen' } you used to get a simple output like: err: /Stage[main]//File[/tmp/nonexistentdir/food]/ensure: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /tmp/nonexistentdir/food.puppettmp_9317 at /Users/matthewrobinson/work/puppet/test.pp:3 notice: Finished catalog run in 0.01 seconds However, since commit:2a6c6cb8fabf82d2f2127c90db670c1a856427c5 you now get a lot more warnings and notices err: /Stage[main]//File[/tmp/nonexistentdir/food]/ensure: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /tmp/nonexistentdir/food.puppettmp_2197 at /Users/matthewrobinson/work/puppet/test.pp:3 notice: /tmp/nonexistentdir/food: Dependency File[/tmp/nonexistentdir/food] has failures: true warning: /tmp/nonexistentdir/food: Skipping because of failed dependencies notice: Class[Main]: Dependency File[/tmp/nonexistentdir/food] has failures: true warning: Class[Main]: Skipping because of failed dependencies notice: Stage[main]: Dependency File[/tmp/nonexistentdir/food] has failures: true warning: Stage[main]: Skipping because of failed dependencies When I first saw that I was worried that other resources in the main Class or Stage might not work, but some brief testing shows that not to be the case. Getting 7 lines in the log output about a resource failure seems confusing compared to just getting 1 in the past. -- 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.
