[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:20:51 UTC 2009


The following commit has been merged in the master branch:
commit 5fb50918ad355116ba85bfe7304baf61a7c8da22
Author: James Turnbull <james at lovedthanlost.net>
Date:   Thu Aug 21 17:48:08 2008 +1000

    Fixed #1457 - case insensitive match for error

diff --git a/CHANGELOG b/CHANGELOG
index 22bc7d8..39a67c1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,6 +6,8 @@
     Fixed #1526 - Fixed leak in template
 
     Fixed #1506 - Removed storeconfig duplicate indexes
+    
+    Fixed #1457 - case insensitive match for error
 
     Fixed #1508 - Added HP-UX package provider
 
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

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list