Signed-off-by: Stefan Schulte <[email protected]>
---
 lib/puppet/provider/mount/parsed.rb |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/lib/puppet/provider/mount/parsed.rb 
b/lib/puppet/provider/mount/parsed.rb
index 82d1628..a8c8bc1 100755
--- a/lib/puppet/provider/mount/parsed.rb
+++ b/lib/puppet/provider/mount/parsed.rb
@@ -9,20 +9,13 @@ else
 end
 
 
-      Puppet::Type.type(:mount).provide(
-        :parsed,
-  :parent => Puppet::Provider::ParsedFile,
-  :default_target => fstab,
-        
-  :filetype => :flat
-) do
+Puppet::Type.type(:mount).provide(:parsed,:parent => 
Puppet::Provider::ParsedFile,:default_target => fstab,:filetype => :flat) do
   include Puppet::Provider::Mount
   #confine :exists => fstab
 
   commands :mountcmd => "mount", :umount => "umount"
 
-  @platform = Facter["operatingsystem"].value
-  case @platform
+  case Facter["operatingsystem"]
   when "Solaris"
     @fields = [:device, :blockdevice, :name, :fstype, :pass, :atboot, :options]
   else
-- 
1.7.4.1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to