diff options
author | Thom May <thom@chef.io> | 2017-04-27 13:52:45 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2017-04-27 13:52:45 +0100 |
commit | d2c661c56d3306c916118f8f75b878d817fa24d3 (patch) | |
tree | 5bb1a857fc919e6d1a3b89aa255e200f1916a517 /lib/chef/provider/user | |
parent | 71863634ac50dbfb2601de536828b779517066ae (diff) | |
download | chef-d2c661c56d3306c916118f8f75b878d817fa24d3.tar.gz |
Fix manage_home on AIXtm/aix_manage_home
Fixes: #6092
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/provider/user')
-rw-r--r-- | lib/chef/provider/user/aix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/user/aix.rb b/lib/chef/provider/user/aix.rb index 0e81c76bbc..966cfd9e93 100644 --- a/lib/chef/provider/user/aix.rb +++ b/lib/chef/provider/user/aix.rb @@ -81,7 +81,7 @@ class Chef # Aix specific handling to update users home directory. def manage_home - return unless updating_home? && managing_home_dir? + return unless updating_home? && new_resource.manage_home # -m option does not work on aix, so move dir. universal_options.delete("-m") if ::File.directory?(current_resource.home) |