Issue #3698 has been updated by James Turnbull. Target version changed from 0.25.6 to Statler
---------------------------------------- Feature #3698: messages sometimes include exec command where exec title is expected http://projects.puppetlabs.com/issues/3698 Author: Alan Barrett Status: Accepted Priority: Normal Assigned to: Jesse Wolfe Category: error reporting Target version: Statler Affected version: 0.25.4 Keywords: Branch: When an exec fails, and other resources require the exec, then the other resources are skipped because of failed dependencies. This is expected. However, the messages on the client include the exec command where the exec title is expected. Given a manifest like this: <pre> exec { "nice short title": command => "complex command; continuing over multiple lines", } file { "/dir/myfile": require => Exec["nice short title"], } </pre> When the exec fails, messages on the client look like this: <pre> notice: //myclass/Exec[nice short title]/returns: {error message} err: //myclass/Exec[nice short title]/returns: change from notrun to 0 failed: complex command; continuing over multiple lines returned 255 instead of one of [0] at filename:line_number notice: //myclass/File[/dir/myfile]: Dependency Exec[complex command; continuing over multiple lines] has 1 failures warning: //myclass/File[/dir/myfile]: Skipping because of failed dependencies </pre> I would like the second last line to say "Dependency Exec[nice short title] has 1 failure" -- 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.
