diff options
author | Luke Kanies <luke@madstop.com> | 2007-11-28 18:44:55 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-11-28 18:44:55 -0600 |
commit | 811fefa569d4ac960598dc06ffacec0c4e60832c (patch) | |
tree | 3c08b878e9e231f9751532d331a4c4f7f0ca16db /lib | |
parent | dedc56a6ae583daca304c053b1be8a52bcdbd13a (diff) | |
download | puppet-811fefa569d4ac960598dc06ffacec0c4e60832c.tar.gz puppet-811fefa569d4ac960598dc06ffacec0c4e60832c.tar.xz puppet-811fefa569d4ac960598dc06ffacec0c4e60832c.zip |
Fixing #892 -- filesystem mounts are no longer remounted.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/puppet/type/mount.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb index 7ba411452..ca8e27e17 100755 --- a/lib/puppet/type/mount.rb +++ b/lib/puppet/type/mount.rb @@ -195,7 +195,7 @@ module Puppet def refresh # Only remount if we're supposed to be mounted. - provider.remount if provider.mounted? + provider.remount if self.should(:fstype) != "swap" and provider.mounted? end def value(name) |