diff options
author | JiSoo Kim <jskim910118@gmail.com> | 2021-09-14 14:41:54 -0500 |
---|---|---|
committer | JiSoo Kim <jskim910118@gmail.com> | 2021-09-14 14:42:45 -0500 |
commit | 3c7476e6445de29ddb60e6d657e10dd7ab68ce75 (patch) | |
tree | cb13dd464b6f454ce636d7db222207fb86856063 | |
parent | ffe6af31264124488f7e16e288ad8a3fafa39a11 (diff) | |
download | chef-3c7476e6445de29ddb60e6d657e10dd7ab68ce75.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 e43306fa6c..33cd2eec48 100644 --- a/lib/chef/resource/mount.rb +++ b/lib/chef/resource/mount.rb @@ -42,7 +42,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, |