Signed-off-by: James Turnbull <[EMAIL PROTECTED]>
---
 CHANGELOG                      |    2 ++
 lib/puppet/provider/confine.rb |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index bf0fea2..cd96135 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
 0.24.x
+    Fixed #1457 - case insensitive match for error
+
     Fixed #1508 - Added HP-UX package provider
 
     Fixed #1502 - Fixed poor stored configuration performance
diff --git a/lib/puppet/provider/confine.rb b/lib/puppet/provider/confine.rb
index e15adcd..70148fc 100644
--- a/lib/puppet/provider/confine.rb
+++ b/lib/puppet/provider/confine.rb
@@ -25,7 +25,7 @@ class Puppet::Provider::Confine
             begin
                 require "puppet/provider/confine/%s" % name
             rescue LoadError => detail
-                unless detail.to_s.include?("No such file")
+                unless detail.to_s =~ /No such file/i
                     warn "Could not load confine test '%s': %s" % [name, 
detail]
                 end
                 # Could not find file
-- 
1.5.4.1


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to