diff options
author | Stefan Schulte <stefan.schulte@taunusstein.net> | 2011-03-25 08:41:06 +0100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2011-04-28 15:15:19 +1000 |
commit | 729336e3d74f3b56237c24cc777f2679c158e496 (patch) | |
tree | c96d2e0519aa82b79f70b21be8833b822167285b | |
parent | 6ab224313c694168b636f1fb841761b3ca8f935f (diff) | |
download | puppet-729336e3d74f3b56237c24cc777f2679c158e496.tar.gz puppet-729336e3d74f3b56237c24cc777f2679c158e496.tar.xz puppet-729336e3d74f3b56237c24cc777f2679c158e496.zip |
(#6845) Mount writes incorrect vfstab entries
Facter[:operatingsystem] will not retrieve the operatingsystem as a
string so puppet will always write fstab entries.
-rwxr-xr-x | lib/puppet/provider/mount/parsed.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/mount/parsed.rb b/lib/puppet/provider/mount/parsed.rb index 11c5e21a9..7c3f41bbd 100755 --- a/lib/puppet/provider/mount/parsed.rb +++ b/lib/puppet/provider/mount/parsed.rb @@ -18,7 +18,7 @@ Puppet::Type.type(:mount).provide( commands :mountcmd => "mount", :umount => "umount" - case Facter["operatingsystem"] + case Facter.value(:operatingsystem) when "Solaris" @fields = [:device, :blockdevice, :name, :fstype, :pass, :atboot, :options] else |