summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiSoo Kim <jskim910118@gmail.com>2021-09-14 14:41:54 -0500
committerTim Smith <tsmith84@gmail.com>2021-09-16 18:37:56 -0700
commit9676ebe1f27e127808692d24dc6c476d80d4d0d3 (patch)
treec796c6eee08a09205449849dbe729eefbb7c797b
parentbbd8c0f65427a50efad89a055afce2e8d78035b3 (diff)
downloadchef-9676ebe1f27e127808692d24dc6c476d80d4d0d3.tar.gz
fixing chefstyle issue
Signed-off-by: JiSoo Kim <jskim910118@gmail.com>
-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 7adc54f846..c28c0357a3 100644
--- a/lib/chef/resource/mount.rb
+++ b/lib/chef/resource/mount.rb
@@ -41,7 +41,7 @@ class Chef
sensitive: true
property :mount_point, String, name_property: true,
- coerce: proc { |arg| (arg == "/" || arg.match?(":/$"))? arg : arg.chomp("/") }, # Removed "/" from the end of str, because it was causing idempotency issue.
+ coerce: proc { |arg| (arg == "/" || arg.match?(":/$")) ? arg : arg.chomp("/") }, # Removed "/" from the end of str, because it was causing idempotency issue.
description: "The directory (or path) in which the device is to be mounted. Defaults to the name of the resource block if not provided."
property :device, String, identity: true,