diff options
author | Lance Albertson <lance@osuosl.org> | 2021-03-29 16:44:49 -0700 |
---|---|---|
committer | Lance Albertson <lance@osuosl.org> | 2021-03-29 17:29:30 -0700 |
commit | 86ed1f1485da3fa0351cc755f1040e05e8d7387d (patch) | |
tree | eb071747c62e817f04dc090ac434813b1fb4eebe | |
parent | 9c1c490a24c47935fbe5a9c752207540063bd74b (diff) | |
download | chef-86ed1f1485da3fa0351cc755f1040e05e8d7387d.tar.gz |
Update comment
Signed-off-by: Lance Albertson <lance@osuosl.org>
-rw-r--r-- | lib/chef/provider/mount.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb index 954bc442f3..7a85652a80 100644 --- a/lib/chef/provider/mount.rb +++ b/lib/chef/provider/mount.rb @@ -175,7 +175,7 @@ class Chef # Returns the new_resource device as per device_type def device_fstab - # Removed "/" from the end of str, because it was causing idempotency issue. + # Removed "/" from the end of str unless it's a network mount, because it was causing idempotency issue. device = if @new_resource.device == "/" || @new_resource.device.match?(":/$") @new_resource.device |