diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 15:32:19 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 15:34:23 -0700 |
commit | f769d7eba17b3f5aa9e0561126bd9f6801c1bac2 (patch) | |
tree | 801dcc6f208510b9b7329e2bfcbc2ccbc055e09d /lib/chef/provider/user/solaris.rb | |
parent | 0447477abd41488674f609cfa59c2bdf35ed6d03 (diff) | |
download | chef-f769d7eba17b3f5aa9e0561126bd9f6801c1bac2.tar.gz |
user provider manage_home behavior and refactor
split out the user provider into 1:1 resources.
fix the behavior of the linux user provider to implement
manage_home behavior correctly.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/user/solaris.rb')
-rw-r--r-- | lib/chef/provider/user/solaris.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/user/solaris.rb b/lib/chef/provider/user/solaris.rb index 83ee8346a9..8d3df9e68b 100644 --- a/lib/chef/provider/user/solaris.rb +++ b/lib/chef/provider/user/solaris.rb @@ -24,7 +24,8 @@ class Chef class Provider class User class Solaris < Chef::Provider::User::Useradd - provides :user, platform: %w{omnios solaris2} + provides :solaris_user + provides :user, os: %w{omnios solaris2} UNIVERSAL_OPTIONS = [[:comment, "-c"], [:gid, "-g"], [:shell, "-s"], [:uid, "-u"]] attr_writer :password_file |