HomePhorge

(#12452) Make Puppet::Util::SELinux#read_mounts work on Ruby 1.9
3b0e35927eb2Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#12452) Make Puppet::Util::SELinux#read_mounts work on Ruby 1.9

There's no String#collect in Ruby 1.9. #each_line works in both 1.8 and 1.9,
and I think better captures the intent of what we were trying to do anyway.

Signed-off-by: Deepak Giridharagopal <deepak@puppetlabs.com>

Event Timeline

Deepak Giridharagopal <deepak@puppetlabs.com> committed rPU3b0e35927eb2: (#12452) Make Puppet::Util::SELinux#read_mounts work on Ruby 1.9 (authored by Deepak Giridharagopal <deepak@puppetlabs.com>).Feb 7 2012, 12:09 AM