diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-08-21 17:48:08 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-08-24 12:41:23 +1000 |
commit | 5fb50918ad355116ba85bfe7304baf61a7c8da22 (patch) | |
tree | 33b91e9249da0cba5fc8a6cced2162244772f869 /lib/puppet | |
parent | ded94f7157f0a4a90f87b65dfd5f1f5e5cd76fed (diff) | |
download | puppet-5fb50918ad355116ba85bfe7304baf61a7c8da22.tar.gz puppet-5fb50918ad355116ba85bfe7304baf61a7c8da22.tar.xz puppet-5fb50918ad355116ba85bfe7304baf61a7c8da22.zip |
Fixed #1457 - case insensitive match for error
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/provider/confine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/confine.rb b/lib/puppet/provider/confine.rb index e15adcd0e..70148fc33 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 |