Fix undefined method: inject for String

The physical_volumes extraction using inject function doesn't work.
Change to using split/grep/map.

/Stage[main]/Releng::Disks/Volume_group[vg] (err): Could not evaluate: undefined method `inject' for "  PV,VG\n/dev/sda4,vg\n":String

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Merge pull request #20 from gentoo/master

Fix undefined method: inject for String
use command 'blkid' instead of 'mount' to check the filesystem type

The options "--guess-fstype" was removed from the mount command [1].
Commands "fsck -N" and "file -sL" were also tested but their output are
not consitent between filesystems. 'blkid' finally seems to be the best candidate
to replace 'mount' and this utility is also present in the standard
package util-linux.

This patch fix the following bug https://projects.puppetlabs.com/issues/19410

[1] http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=commit;h=0377ef91270d06592a0d4dd009c29e7b1ff9c9b8
Merge pull request #23 from mbornoz/master

use 'blkid' instead of 'mount' to check the filesystem type
(maint) rename spec files

The common convention for naming spec files is ${tested_file}_spec.rb,
and running the `rspec` command will run all accordingly named files.
This commit renames all existing spec files to conform to this
convention.
(maint) simplify rspec spec_helper.rb require

With rspec 2 simply doing `require 'spec_helper'` will bring in the
project spec helper. This commit removes the existing complex require
logic with a simple require statement.
(maint) use 2 space indentation for spec files

All of the spec files were using 4 space indents. This commit changes
the indentation to the standard 2 space indent that's the common
convention in the ruby community.
(maint) add Gemfile

This commits a basic Gemfile to allow for easier testing. It respects
the environment variable 'PUPPET_GEM_VERSION' in cases where the module
needs to be tested with multiple versions of Ruby.
(maint) add .travis.yml configuration

This commit adds configuration for travis-ci to test this module against
supported versions of puppet. It also suppresses emails on
travis builds.
Merge branch 'maint-cleanup_spec_files'

This closes GH-21 and GH-22
(maint) Add Rakefile

This rakefile is needed to drive travis-ci tests.
Move volume define to the correct location in the autoload module layout
Ignore metadata.json created by geppetto
Add RDoc / License header to the volume define
Merge pull request #26 from rharrison10/cleanup

Move volume define to the correct location in the autoload module layout
Update metadata for 0.1.2 release

This commit updates Modulefile for a 0.1.2 release. 0.1.2 represents
a bug-fix release that is mostly focussed on testing improvements
but includes a few important fixes.
Merge pull request #29 from puppetlabs/release/0.1.2

Update metadata for 0.1.2 release