diff options
author | Steven Murawski <steven.murawski@gmail.com> | 2017-04-04 12:44:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 12:44:18 -0500 |
commit | 93c72873224c6a79ae13b5d2fa70cb9bfc645c5c (patch) | |
tree | 11d69b7bf3287fdc2ea8bda6fe1b7bd99a7c3ef1 /lib/chef/provider | |
parent | 9eb7aa84a1b2cbea628f405bf65e70953c1fd422 (diff) | |
parent | ab76b3527cf4f657203fc80481f865ef5ec990d3 (diff) | |
download | chef-93c72873224c6a79ae13b5d2fa70cb9bfc645c5c.tar.gz |
Merge pull request #5720 from Ppjet6/master
Add -u param to usermod in linux_user resource when using non_unique
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/user/linux.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/user/linux.rb b/lib/chef/provider/user/linux.rb index cf75bdc38b..715330e196 100644 --- a/lib/chef/provider/user/linux.rb +++ b/lib/chef/provider/user/linux.rb @@ -58,6 +58,7 @@ class Chef def usermod_options opts = [] + opts += [ "-u", new_resource.uid ] if non_unique? if updating_home? if new_resource.manage_home opts << "-m" |