summaryrefslogtreecommitdiff
path: root/lib/chef/resource/mount.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-30 09:24:45 -0600
committerJohn Keiser <john@johnkeiser.com>2015-06-30 11:18:41 -0600
commit55ac7e57db9e5c419cc469e57e0b8bced993a729 (patch)
treeb4893764a8eeaf22dc98a50bbe6321f0972e72fd /lib/chef/resource/mount.rb
parent7f2efa0bdabee2745b9b61725d88944bedd44052 (diff)
downloadchef-55ac7e57db9e5c419cc469e57e0b8bced993a729.tar.gz
Make ProviderResolver tests work, fix resources to resolve correctly as well as providers
Diffstat (limited to 'lib/chef/resource/mount.rb')
-rw-r--r--lib/chef/resource/mount.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/chef/resource/mount.rb b/lib/chef/resource/mount.rb
index 79986d127f..a5da0ba329 100644
--- a/lib/chef/resource/mount.rb
+++ b/lib/chef/resource/mount.rb
@@ -174,6 +174,14 @@ class Chef
)
end
+ private
+
+ # Used by the AIX provider to set fstype to nil.
+ # TODO use property to make nil a valid value for fstype
+ def clear_fstype
+ @fstype = nil
+ end
+
end
end
end