Issue #7459 has been updated by Nigel Kersten.

Target version changed from 1.1 to 2.0

Garrett, please don't target versions when filing bugs. This is something that 
Product and Release Management need to set so we can actually ship product.
----------------------------------------
Bug #7459: puppet license needs to use return codes
https://projects.puppetlabs.com/issues/7459

Author: Garrett Honeycutt
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 2.0
Keywords: 
Branch: 
Affected PE version: 


Currently when you run `puppet license` the return is always 0. If the license 
is not valid, it should return non-zero.

To reproduce: create a `/etc/puppetlabs/license.key` and run `puppet license; 
echo $?`. It will return 0, as expected because you have a license. If you 
remove the file and run the same command, it still returns 0.


-- 
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.

Reply via email to