Bug #4298

puppet apply no_such_file_gfhfhgf.pp does not error

Added by Markus Roberts almost 2 years ago. Updated about 1 month ago.

Status:Closed Start date:07/20/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:error reporting
Target version:2.6.1
Affected Puppet version:2.6.0 Branch:http://github.com/mmrobins/puppet/tree/ticket/master/4298
Keywords:error message
Votes: 0

Description

If you try to apply a non-existent file it appear to treat it as an empty file instead, with no indication that anything is amiss.

History

Updated by Matt Robinson almost 2 years ago

  • Category set to error reporting
  • Status changed from Accepted to In Topic Branch Pending Review
  • Assignee set to Matt Robinson
  • Target version changed from 2.6.1 to 2.7.x
  • Keywords set to error message
  • Branch set to http://github.com/mmrobins/puppet/tree/4467

Attached patch makes Puppet apply print an error if the file to apply doesn’t exist

Also warns you it’s skipping files if you pass it more than one file to apply.

Updated by Markus Roberts almost 2 years ago

  • Target version changed from 2.7.x to 2.6.1
  • Branch changed from http://github.com/mmrobins/puppet/tree/4467 to http://github.com/mmrobins/puppet/tree/ticket/master/4298

I believe Matt typoed the branch.

Updated by Markus Roberts almost 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

Updated by Markus Roberts over 1 year ago

  • Status changed from Merged - Pending Release to Closed

commit:3df0490c9dbc59e27869e09864177536400a5ae3

Updated by Daniel Pittman about 1 month ago

  • Assignee deleted (Matt Robinson)

Also available in: Atom PDF