summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-04-04 15:07:08 -0700
committerGitHub <noreply@github.com>2017-04-04 15:07:08 -0700
commit38d9506540842ae3f838aa0f29eab5554bf11476 (patch)
tree5d5679931f44fb8ccdfa1566a6272cbcc65c8c9c
parent9c8619427748652e73c1cb86c71992521a4fe277 (diff)
parent85894e4c30e4efa7e4e85d21ba41d1a3d5affa95 (diff)
downloadchef-38d9506540842ae3f838aa0f29eab5554bf11476.tar.gz
Merge pull request #6009 from chef/lcg/fix-linux-user
fix build break on master in linux user provider
-rw-r--r--lib/chef/provider/user/linux.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/user/linux.rb b/lib/chef/provider/user/linux.rb
index 715330e196..2db6c218bd 100644
--- a/lib/chef/provider/user/linux.rb
+++ b/lib/chef/provider/user/linux.rb
@@ -58,7 +58,7 @@ class Chef
def usermod_options
opts = []
- opts += [ "-u", new_resource.uid ] if non_unique?
+ opts += [ "-u", new_resource.uid ] if new_resource.non_unique
if updating_home?
if new_resource.manage_home
opts << "-m"