Issue #11325 has been updated by Josh Cooper.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from 3.x to 3.0.0

This was merged in 
<https://github.com/puppetlabs/puppet/commit/125868b89791b4cafcd0fa1a5e8af1ce2c0819f6>

<pre>
-        unless detail.to_s =~ /No such file/i
+        unless detail.to_s =~ /No such file|cannot load such file/i
</pre>
----------------------------------------
Bug #11325: Bogus confine warning when running on ruby 1.9.3
https://projects.puppetlabs.com/issues/11325#change-64420

Author: Josh Cooper
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: ruby19
Target version: 3.0.0
Affected Puppet version: 2.7.8
Keywords: ruby19
Branch: https://github.com/puppetlabs/puppet/pull/575


When running on ruby 1.9.3, Puppet::Provider::Confine will generate warnings 
like the following for any fact-based confine:

<pre>
Could not load confine test 'operatingsystem': cannot load such file -- 
puppet/provider/confine/operatingsystem
</pre>

Note the 'cannot load such file' part. The code is trying to match 'Could not 
load confine test' which is what the LoadError reports prior to 1.9.3 when the 
file doesn't work.



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