diff options
-rw-r--r-- | lib/chef/provider/mount.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/provider/mount.rb b/lib/chef/provider/mount.rb index a417ef4ecc..64c7bc3f29 100644 --- a/lib/chef/provider/mount.rb +++ b/lib/chef/provider/mount.rb @@ -121,10 +121,10 @@ class Chef # It's entirely plausible that a site might prefer UUIDs or labels, so # we need to be able to update fstab to conform with their wishes # without necessarily needing to remount the device. - # See #6851 for more. - # We have to compare current resource device with device_fstab value + # See #6851 for more. + # We have to compare current resource device with device_fstab value # because entry in /etc/fstab will be as per device_type. - # For Ex: 'LABEL=/tmp/ /mnt ext3 defaults,nofail 0 2', where 'device_type' is :label. + # For Ex: 'LABEL=/tmp/ /mnt ext3 defaults 0 2', where 'device_type' is :label. def device_unchanged? @current_resource.device == device_fstab end @@ -173,7 +173,7 @@ class Chef end end - # Retruns the new_resource device as per device_type + # Returns the new_resource device as per device_type def device_fstab case @new_resource.device_type when :device |