[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.1rc1-141-gcdb2b90

James Turnbull james at lovedthanlost.net
Mon Aug 16 12:47:33 UTC 2010


The following commit has been merged in the upstream branch:
commit 53e361044cd695147bd0af90ce9a8c6f8150b5ad
Author: Bryan Kearney <bkearney at redhat.com>
Date:   Mon Jun 14 08:37:54 2010 -0400

    Bug 3731. Applied Fix suggested by Doug Warner to always flatten out the array

diff --git a/lib/puppet/provider/augeas/augeas.rb b/lib/puppet/provider/augeas/augeas.rb
index 6e471b8..de9686c 100644
--- a/lib/puppet/provider/augeas/augeas.rb
+++ b/lib/puppet/provider/augeas/augeas.rb
@@ -65,6 +65,7 @@ Puppet::Type.type(:augeas).provide(:augeas) do
         if data.is_a?(String)
             data = data.split($/)
         end
+        data = data.flatten
         args = []
         data.each do |line|
             line.strip!

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list