summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schulte <stefan.schulte@taunusstein.net>2011-03-25 08:41:06 +0100
committerJames Turnbull <james@lovedthanlost.net>2011-04-28 15:15:19 +1000
commit729336e3d74f3b56237c24cc777f2679c158e496 (patch)
treec96d2e0519aa82b79f70b21be8833b822167285b
parent6ab224313c694168b636f1fb841761b3ca8f935f (diff)
downloadpuppet-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-xlib/puppet/provider/mount/parsed.rb2
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