summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-07 17:29:19 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-07 17:29:19 +0000
commit31c9a6fc7c2bff76a5c3d49a89111dd3c84706df (patch)
treec89bece842cfcd4086190a5d4ac5e59724444538 /lib/puppet/provider
parentad359f3ce5e2a792dcaa9586960d09bf4f639327 (diff)
downloadpuppet-31c9a6fc7c2bff76a5c3d49a89111dd3c84706df.tar.gz
puppet-31c9a6fc7c2bff76a5c3d49a89111dd3c84706df.tar.xz
puppet-31c9a6fc7c2bff76a5c3d49a89111dd3c84706df.zip
Disabling the netinfo mount provider
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2171 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/provider')
-rw-r--r--lib/puppet/provider/mount/netinfo.rb62
1 files changed, 31 insertions, 31 deletions
diff --git a/lib/puppet/provider/mount/netinfo.rb b/lib/puppet/provider/mount/netinfo.rb
index 9cebc11e7..bd1d451c0 100644
--- a/lib/puppet/provider/mount/netinfo.rb
+++ b/lib/puppet/provider/mount/netinfo.rb
@@ -3,36 +3,36 @@
require 'puppet/provider/nameservice/netinfo'
require 'puppet/provider/mount'
-Puppet::Type.type(:mount).provide :netinfo, :parent => Puppet::Provider::NameService::NetInfo do
- include Puppet::Provider::Mount
- desc "Mount management in NetInfo. This provider is highly experimental and is known
- not to work currently."
- commands :nireport => "nireport", :niutil => "niutil"
- commands :mountcmd => "mount", :umount => "umount", :df => "df"
-
- options :device, :key => "name"
- options :name, :key => "dir"
- options :dump, :key => "dump_freq"
- options :pass, :key => "passno"
- options :fstype, :key => "vfstype"
- options :options, :key => "opts"
-
- defaultfor :operatingsystem => :darwin
-
- def initialize(model)
- warning "The NetInfo mount provider is highly experimental. Use at your own risk."
- super
- end
-
- def mount
- cmd = []
- if opts = @model.should(:options)
- cmd << opts
- end
- cmd << @model.should(:device)
- cmd << @model[:name]
- mountcmd cmd
- end
-end
+# Puppet::Type.type(:mount).provide :netinfo, :parent => Puppet::Provider::NameService::NetInfo do
+# include Puppet::Provider::Mount
+# desc "Mount management in NetInfo. This provider is highly experimental and is known
+# not to work currently."
+# commands :nireport => "nireport", :niutil => "niutil"
+# commands :mountcmd => "mount", :umount => "umount", :df => "df"
+#
+# options :device, :key => "name"
+# options :name, :key => "dir"
+# options :dump, :key => "dump_freq"
+# options :pass, :key => "passno"
+# options :fstype, :key => "vfstype"
+# options :options, :key => "opts"
+#
+# defaultfor :operatingsystem => :darwin
+#
+# def initialize(model)
+# warning "The NetInfo mount provider is highly experimental. Use at your own risk."
+# super
+# end
+#
+# def mount
+# cmd = []
+# if opts = @model.should(:options)
+# cmd << opts
+# end
+# cmd << @model.should(:device)
+# cmd << @model[:name]
+# mountcmd cmd
+# end
+# end
# $Id$