diff options
author | Kristian Vlaardingerbroek <kristian.vlaardingerbroek@gmail.com> | 2013-01-29 16:46:23 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-04-12 11:56:22 -0700 |
commit | 0bd031076fe5aa197a40e2a004cd5bf5822bfabf (patch) | |
tree | 465c08863514cd5de7ba4e96638ac507e4a5539d /lib | |
parent | f052f8affdc370d640382fc5b2e5f7ea112c1600 (diff) | |
download | chef-0bd031076fe5aa197a40e2a004cd5bf5822bfabf.tar.gz |
Check if mount options have changed in the enable action
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 fe41997d39..6b9dd91ac8 100644 --- a/lib/chef/provider/mount.rb +++ b/lib/chef/provider/mount.rb @@ -79,7 +79,7 @@ class Chef end def action_enable - unless @current_resource.enabled + unless @current_resource.enabled && mount_options_unchanged? converge_by("remount #{@current_resource.device}") do status = enable_fs if status |