summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-11-11 11:26:44 -0800
committerJesse Wolfe <jes5199@gmail.com>2010-11-11 11:26:44 -0800
commit7c7808059a18832234742f0dc3af3f1a034e1033 (patch)
tree7163d09c170c5d96072ac1540c6f2280c642de86 /lib
parent3228a279c6df183309bfa89fb0d890360f6ff697 (diff)
parent6f1416d7a4cec92ccff64d904d5fe799b8ff9a85 (diff)
Merge branch 'ticket/next/4904' into next
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/type/mount.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb
index d048c90f1..e8c6b3290 100755
--- a/lib/puppet/type/mount.rb
+++ b/lib/puppet/type/mount.rb
@@ -210,7 +210,7 @@ module Puppet
def refresh
# Only remount if we're supposed to be mounted.
- provider.remount if self.should(:fstype) != "swap" and provider.mounted?
+ provider.remount if self.should(:fstype) != "swap" and self.should(:ensure) == :mounted
end
def value(name)