summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <lance@osuosl.org>2021-03-29 16:44:49 -0700
committerLance Albertson <lance@osuosl.org>2021-03-29 16:44:49 -0700
commit853715844a554d78f4f36a2974ab192091884905 (patch)
treef79a697eb3d130b8f67c2d3b8d3acdadb001d7af
parent7e830122368206c562cde0b3198575be7baf3cfb (diff)
downloadchef-853715844a554d78f4f36a2974ab192091884905.tar.gz
Update comment
Signed-off-by: Lance Albertson <lance@osuosl.org>
-rw-r--r--lib/chef/provider/mount.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb
index 40211e4bbb..998ea3ce9b 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