diff options
author | Luke Kanies <luke@madstop.com> | 2008-01-07 11:59:30 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-01-07 11:59:30 -0600 |
commit | a7bca7eb8471d546edc27d452cccb8a23ca9b801 (patch) | |
tree | 01c098f52225384b9d23acfbda2e84566d15bfad | |
parent | 1bdf3f8412db0db8a46dda18763b1cc67970e1d8 (diff) | |
download | puppet-a7bca7eb8471d546edc27d452cccb8a23ca9b801.tar.gz puppet-a7bca7eb8471d546edc27d452cccb8a23ca9b801.tar.xz puppet-a7bca7eb8471d546edc27d452cccb8a23ca9b801.zip |
Removing the requirement in the parsed mount provider
that the fstab file exist.
-rwxr-xr-x | lib/puppet/provider/mount/parsed.rb | 2 | ||||
-rwxr-xr-x | spec/unit/ral/types/mount.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/mount/parsed.rb b/lib/puppet/provider/mount/parsed.rb index 20908333d..9bc1cf5a5 100755 --- a/lib/puppet/provider/mount/parsed.rb +++ b/lib/puppet/provider/mount/parsed.rb @@ -14,7 +14,7 @@ Puppet::Type.type(:mount).provide(:parsed, :filetype => :flat ) do include Puppet::Provider::Mount - confine :exists => fstab + #confine :exists => fstab commands :mountcmd => "mount", :umount => "umount" diff --git a/spec/unit/ral/types/mount.rb b/spec/unit/ral/types/mount.rb index 0c4b94177..7d01022b5 100755 --- a/spec/unit/ral/types/mount.rb +++ b/spec/unit/ral/types/mount.rb @@ -9,7 +9,7 @@ describe Puppet::Type::Mount do Puppet::Type::Mount.provider_feature(:refreshable).methods.should == [:remount] end - it "should have no default value" do + it "should have no default value for :ensure" do mount = Puppet::Type::Mount.create(:name => "yay") mount.should(:ensure).should be_nil end |