Issue #10161 has been updated by Rob Tucker.
50c50 < f.puts(YAML.dump metadata) --- > f.puts(YAML.dump(metadata)) Quoting the metadata parameter for YAML.dump should resolve. ---------------------------------------- Bug #10161: Spurious ruby errors on Ruby 1.8.6 https://projects.puppetlabs.com/issues/10161 Author: Ben Hughes Status: Accepted Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Windows Branch: # Overview # Puppet 2.7.x with the new windows support, outputs error messages on ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux] (centos 5) # Expected Behaviour # Silence! # Actual Behaviour # <pre> root@centos5# /usr/bin/puppet agent --onetime --no-daemonize >/dev/null /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/msi.rb:50: warning: parenthesize argument(s) for future version root@centos5# $( head -1 $( which puppet ) | cut -f 2- -d '!' ) --version ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux] </pre> # Detail # 1.8.6 is not Ruby's finest hour, but it would still be nice not to do this. # Work Around # -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
