summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider/mount
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-11 07:40:16 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-11 07:40:16 +0000
commit0643113a7a8127ce559aa0cce0b81df5e99d386c (patch)
tree15e693db02840a656ed8b43027fcb55d257d7c8c /lib/puppet/provider/mount
parent7c8614b0589f7c843d17b9d16720419817394cee (diff)
downloadpuppet-0643113a7a8127ce559aa0cce0b81df5e99d386c.tar.gz
puppet-0643113a7a8127ce559aa0cce0b81df5e99d386c.tar.xz
puppet-0643113a7a8127ce559aa0cce0b81df5e99d386c.zip
An intermediate commit. All of the classes that use parsedfile are assuredly broken, since I have basically completely rewritten it. These classes have been a thorn in my side almost since I created them, yet they have been significantly less functional that I wanted. So, I decided to do the rewrite I have been putting off, just to spend all of the maintenance time now so I do not spend 3 days on them every release.
Tomorrow I will be porting all of the existing types (including cron, hopefully) over to this new base. This will also make it possible to add other types of providers to these classes; we should be able to reuse the netinfo provider for os x types, and we should be able to create a cron provider that writes to /etc/crontab instead of user crontabs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1856 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/provider/mount')
-rwxr-xr-xlib/puppet/provider/mount/parsed.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/provider/mount/parsed.rb b/lib/puppet/provider/mount/parsed.rb
index 3db4d7ac2..086cd5cd9 100755
--- a/lib/puppet/provider/mount/parsed.rb
+++ b/lib/puppet/provider/mount/parsed.rb
@@ -156,6 +156,7 @@ Puppet::Type.type(:mount).provide :parsed, :parent => Puppet::Provider::ParsedFi
when "Solaris": df = "#{command(:df)} -k"
end
%x{#{df}}.split("\n").find do |line|
+ p line
fs = line.split(/\s+/)[-1]
if platform == "Darwin"
fs == "/private/var/automount" + @model[:path] or