summaryrefslogtreecommitdiff
path: root/lib/chef/provider/user/aix.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-06 17:33:50 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-02 09:53:40 -0700
commitfa0b9a5a92c477ef5ea84bf90a266943bb1a04c9 (patch)
treee2f7d6a8a7cf70894b9caead82bc306735c2e99e /lib/chef/provider/user/aix.rb
parent8a968eeb58139b00e8bfc35b52cb9150515525a8 (diff)
downloadchef-fa0b9a5a92c477ef5ea84bf90a266943bb1a04c9.tar.gz
Move provider_mapping values out into the actual resource classes
Diffstat (limited to 'lib/chef/provider/user/aix.rb')
-rw-r--r--lib/chef/provider/user/aix.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/provider/user/aix.rb b/lib/chef/provider/user/aix.rb
index af08ab4364..a575a41e54 100644
--- a/lib/chef/provider/user/aix.rb
+++ b/lib/chef/provider/user/aix.rb
@@ -18,9 +18,10 @@ class Chef
class Provider
class User
class Aix < Chef::Provider::User::Useradd
+ provides :user, platform: %w(aix)
UNIVERSAL_OPTIONS = [[:comment, "-c"], [:gid, "-g"], [:shell, "-s"], [:uid, "-u"]]
-
+
def create_user
super
add_password
@@ -88,7 +89,7 @@ class Chef
end
end
end
-
+
end
end
end