Issue #11958 has been updated by Kelsey Hightower.

Due date set to 01/17/2012
Status changed from Accepted to In Topic Branch Pending Review
Target version set to 2.7.x
% Done changed from 0 to 100
Branch changed from 
https://github.com/kelseyhightower/puppet/tree/ticket/2.7.x/11958_pip_provider_better_error_messages
 to https://github.com/puppetlabs/puppet/pull/337

## Pending review ##

Changes are ready for review - [Pull Request: 
337](https://github.com/puppetlabs/puppet/pull/337)

----------------------------------------
Bug #11958: obscure error message from pip package provider when python-pip is 
not installed
https://projects.puppetlabs.com/issues/11958

Author: Ahmed El Gamil
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Kelsey Hightower
Category: provider
Target version: 2.7.x
Affected Puppet version: 2.7.6
Keywords: error usability ux
Branch: https://github.com/puppetlabs/puppet/pull/337


Hi,

Puppet generates an obscure error when the pip command is not installed or not 
in PATH.

Error is like : 
[default] err: /Stage[main]/Uwsgi/Package[uwsgi]/ensure: change from absent to 
latest failed: Could not update: undefined method `pip' for 
#<Puppet::Type::Package::ProviderPip:0xb72b8998> at 
/tmp/vagrant-puppet/manifests/nodes-vagrant.pp:17

A more informative error message should be displayed, or even stopping the 
puppet run.

Thanks


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