Bug #6404

Filebucket app should complain when no files given

Added by Paul Berry about 1 year ago. Updated 4 months ago.

Status:Merged - Pending Release Start date:02/22/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:file
Target version:2.7.11
Affected Puppet version:2.7.9 Branch:https://github.com/puppetlabs/puppet/pull/376
Keywords:
Votes: 0

Description

This command:

puppet filebucket backup

Produces no output and returns a 0 exit code.

This is confusing. It seems like it should produce a nonzero error code and output an error message to help the user figure out the correct set of arguments to supply.

History

Updated by Matt Robinson about 1 year ago

  • Status changed from Unreviewed to Accepted

Updated by Ben Hughes 4 months ago

  • Description updated (diff)
  • Status changed from Accepted to Unreviewed

Updated by Luke Kanies 4 months ago

  • Description updated (diff)
  • Status changed from Unreviewed to Accepted
  • Affected Puppet version set to 2.7.9

Confirmed this is still a problem.

Updated by Luke Kanies 4 months ago

  • Status changed from Accepted to In Topic Branch Pending Review

Pushed code in request https://github.com/puppetlabs/puppet/pull/376, in my tickets/2.7.x/6404-filebucket_fails_when_no_file_specified branch.

Updated by James Turnbull 4 months ago

  • Category set to file
  • Branch set to https://github.com/puppetlabs/puppet/pull/376

Updated by Daniel Pittman 4 months ago

  • Target version set to 2.7.x

Thanks. The looks good, and passes tests. As soon as the current broken build is fixed we can look to get it in.

Updated by Daniel Pittman 4 months ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release
  • Target version changed from 2.7.x to 2.7.11

Also available in: Atom PDF