summaryrefslogtreecommitdiff
path: root/lib/chef/provider/user/solaris.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/user/solaris.rb')
-rw-r--r--lib/chef/provider/user/solaris.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider/user/solaris.rb b/lib/chef/provider/user/solaris.rb
index 8d3df9e68b..83ee8346a9 100644
--- a/lib/chef/provider/user/solaris.rb
+++ b/lib/chef/provider/user/solaris.rb
@@ -24,8 +24,7 @@ class Chef
class Provider
class User
class Solaris < Chef::Provider::User::Useradd
- provides :solaris_user
- provides :user, os: %w{omnios solaris2}
+ provides :user, platform: %w{omnios solaris2}
UNIVERSAL_OPTIONS = [[:comment, "-c"], [:gid, "-g"], [:shell, "-s"], [:uid, "-u"]]
attr_writer :password_file