diff options
author | Lance Albertson <lance@osuosl.org> | 2021-03-29 16:44:49 -0700 |
---|---|---|
committer | Lance Albertson <lance@osuosl.org> | 2021-03-29 16:44:49 -0700 |
commit | 853715844a554d78f4f36a2974ab192091884905 (patch) | |
tree | f79a697eb3d130b8f67c2d3b8d3acdadb001d7af /lib | |
parent | 7e830122368206c562cde0b3198575be7baf3cfb (diff) | |
download | chef-853715844a554d78f4f36a2974ab192091884905.tar.gz |
Update comment
Signed-off-by: Lance Albertson <lance@osuosl.org>
Diffstat (limited to 'lib')
-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 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 |