[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.5rc1-120-g2247c80

Daniel Pittman daniel at rimspace.net
Mon Feb 7 06:42:03 UTC 2011


The following commit has been merged in the upstream branch:
commit 50c12e55b6f8462f6904ae061e661d1d10c7590a
Author: Rick Bradley <rick at rickbradley.com>
Date:   Mon Jan 31 14:03:16 2011 -0800

    bug #5681 -- code fix to handle AIX mount output
    
    Making a simplified fix to find mount name in AIX mount command output.

diff --git a/lib/puppet/provider/mount.rb b/lib/puppet/provider/mount.rb
index 6a7c72c..c979f74 100644
--- a/lib/puppet/provider/mount.rb
+++ b/lib/puppet/provider/mount.rb
@@ -44,7 +44,7 @@ module Puppet::Provider::Mount
       when "Solaris", "HP-UX"
         line =~ /^#{name} on /
       when "AIX"
-        line =~ /^[^\s]*\s+[^\s]+\s+#{name}\s/
+        line.split(/\s+/)[1] == name
       else
         line =~ / on #{name} /
       end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list