[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, experimental_upstream, updated. 1.5.9-54-g5a4eeed
Adrien Thebo
adrien.thebo at gmail.com
Wed Jun 22 08:51:46 UTC 2011
The following commit has been merged in the experimental_upstream branch:
commit e056218cc6f7fd7a40923ec6472d6020e220a81f
Author: Matt Robinson <matt at puppetlabs.com>
Date: Tue Mar 22 21:53:18 2011 -0700
(#6817) Fix for Ruby 1.9 by calling .each_line on a string
diff --git a/lib/facter/util/memory.rb b/lib/facter/util/memory.rb
index b7ad198..d86a423 100644
--- a/lib/facter/util/memory.rb
+++ b/lib/facter/util/memory.rb
@@ -75,7 +75,7 @@ module Facter::Memory
memspecfree = 0
vmstats = Facter::Util::Resolution.exec('vm_stat')
- vmstats.each do |vmline|
+ vmstats.each_line do |vmline|
case
when vmline =~ /page\ssize\sof\s(\d+)\sbytes/
pagesize = $1.to_i
--
Packaging of Facter for debian
More information about the Pkg-puppet-devel
mailing list