Issue #2940 has been updated by Markus Roberts.

Status changed from Needs more information to Accepted
Assigned to changed from Alan Harder to Jesse Wolfe

Thanks for the info that should be enough for us to track it down (and if not, 
we'll ask for more).  

----------------------------------------
Bug #2940: Package resource with ensure=>latest and invalid source gives 
"undefined method" error msg
http://projects.reductivelabs.com/issues/2940

Author: Alan Harder
Status: Accepted
Priority: Normal
Assigned to: Jesse Wolfe
Category: package
Target version: 0.25.2
Affected version: 0.25.2rc1
Keywords: 
Branch: 


<pre>
package {
  source => '/bogus/path',
  ensure => 'latest',
  provider => 'sun'
}
</pre>

with something like this the error message I see with current 0.25.x branch 
from git looks like this:
@Failed to retrieve current state of resource: Could not get latest version: 
undefined method `[]' for nil:NilClass@

Getting an error is correct, as the source is an invalid path, but the 
"undefined method" in "nil:NilClass" looks odd.



-- 
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://reductivelabs.com/redmine/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