[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.5-303-gfcfa26a
Jacob Helwig
jacob at puppetlabs.com
Thu Mar 17 10:47:13 UTC 2011
The following commit has been merged in the upstream branch:
commit 3b41d44812eed82d41e135375df15ae0bc3b4800
Author: Jacob Helwig <jacob at puppetlabs.com>
Date: Fri Feb 18 15:16:12 2011 -0800
Clean up whitespace, and commented out code in parsed mount provider
Paired-with: Jesse Wolfe <jesse at puppetlabs.com>
diff --git a/lib/puppet/provider/mount/parsed.rb b/lib/puppet/provider/mount/parsed.rb
index 82d1628..69a6fc0 100755
--- a/lib/puppet/provider/mount/parsed.rb
+++ b/lib/puppet/provider/mount/parsed.rb
@@ -8,16 +8,13 @@ else
fstab = "/etc/fstab"
end
-
- Puppet::Type.type(:mount).provide(
- :parsed,
+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"
@@ -42,6 +39,4 @@ end
text_line :incomplete, :match => /^(?!#{field_pattern}{#{mandatory_fields.length}})/
record_line self.name, :fields => @fields, :separator => /\s+/, :joiner => "\t", :optional => optional_fields
-
end
-
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list