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

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #6404

Filebucket app should complain when no files given

Added by Paul Berry over 4 years ago. Updated almost 3 years 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


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 4 years ago

  • Status changed from Unreviewed to Accepted

#2 Updated by Ben Hughes over 3 years ago

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

#3 Updated by Luke Kanies over 3 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 3 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 3 years ago

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

#6 Updated by Anonymous over 3 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 Anonymous over 3 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 almost 3 years ago

  • Status changed from Merged - Pending Release to Closed

released in 2.7.12.

Also available in: Atom PDF