[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Matt Robinson matt at puppetlabs.com
Tue May 10 08:07:42 UTC 2011


The following commit has been merged in the experimental branch:
commit 8c32db76f68148b2e58ba744b965a3c8cd8f1663
Author: Matt Robinson <matt at puppetlabs.com>
Date:   Tue Mar 22 22:56:46 2011 -0700

    (#6820) Fix nagios parser to use proper hash syntax for Ruby 1.9
    
    Reviewed-by: Jacob Helwig <jacob at puppetlabs.com>

diff --git a/lib/puppet/external/nagios/parser.rb b/lib/puppet/external/nagios/parser.rb
index 5504f58..17db5e3 100644
--- a/lib/puppet/external/nagios/parser.rb
+++ b/lib/puppet/external/nagios/parser.rb
@@ -753,7 +753,7 @@ module_eval <<'.,.,', 'grammar.ry', 40
 
 module_eval <<'.,.,', 'grammar.ry', 42
   def _reduce_10( val, _values, result )
-result = {val[0],val[1]}
+result = {val[0] => val[1]}
   result
 end
 .,.,

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list