The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #6404

Filebucket app should complain when no files given

Added by Paul Berry about 3 years ago. Updated over 1 year ago.

Status:ClosedStart date:02/22/2011
Priority:NormalDue 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:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


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

#1 Updated by Matt Robinson about 3 years ago

  • Status changed from Unreviewed to Accepted

#2 Updated by Ben Hughes over 2 years ago

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

#3 Updated by Luke Kanies over 2 years ago

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

Confirmed this is still a problem.

#4 Updated by Luke Kanies over 2 years 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.

#5 Updated by James Turnbull over 2 years ago

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

#6 Updated by Daniel Pittman over 2 years 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.

#7 Updated by Daniel Pittman about 2 years ago

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

#8 Updated by Moses Mendoza over 1 year ago

  • Status changed from Merged - Pending Release to Closed

released in 2.7.12.

Also available in: Atom PDF