diff options
author | JiSoo Kim <jskim910118@gmail.com> | 2021-09-14 14:41:54 -0500 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-09-16 18:37:56 -0700 |
commit | 9676ebe1f27e127808692d24dc6c476d80d4d0d3 (patch) | |
tree | c796c6eee08a09205449849dbe729eefbb7c797b | |
parent | bbd8c0f65427a50efad89a055afce2e8d78035b3 (diff) | |
download | chef-9676ebe1f27e127808692d24dc6c476d80d4d0d3.tar.gz |
fixing chefstyle issue
Signed-off-by: JiSoo Kim <jskim910118@gmail.com>
-rw-r--r-- | lib/chef/resource/mount.rb | 2 |
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, |