summaryrefslogtreecommitdiff
path: root/lib/chef/resource/mount.rb
diff options
context:
space:
mode:
authorGrant Ridder <shortdudey123@gmail.com>2016-11-30 11:29:52 -0800
committerGrant Ridder <shortdudey123@gmail.com>2016-11-30 11:37:29 -0800
commit937faa7e42c6df03b1deec0e8bbc785b7ba33e90 (patch)
tree9d1fef4c8b8587c831101807b30ec989e869f7df /lib/chef/resource/mount.rb
parent0a2e27001c3c678f2a0a7d354a14a4e36c6555e9 (diff)
downloadchef-937faa7e42c6df03b1deec0e8bbc785b7ba33e90.tar.gz
Alias unmount to umount for mount resource
Allows the usage of `action :unmount` to `umount` a mount point Closes https://github.com/chef/chef/issues/5595 Signed-off-by: Grant Ridder <shortdudey123@gmail.com>
Diffstat (limited to 'lib/chef/resource/mount.rb')
-rw-r--r--lib/chef/resource/mount.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/mount.rb b/lib/chef/resource/mount.rb
index 2d85b3897c..3e35325246 100644
--- a/lib/chef/resource/mount.rb
+++ b/lib/chef/resource/mount.rb
@@ -28,7 +28,7 @@ class Chef
state_attrs :mount_point, :device_type, :fstype, :username, :password, :domain
default_action :mount
- allowed_actions :mount, :umount, :remount, :enable, :disable
+ allowed_actions :mount, :umount, :unmount, :remount, :enable, :disable
def initialize(name, run_context = nil)
super