Issue #11200 has been reported by Michael Bryant.

----------------------------------------
Bug #11200: Creating users on aix gives an error
https://projects.puppetlabs.com/issues/11200

Author: Michael Bryant
Status: Unreviewed
Priority: Normal
Assignee: 
Category: provider
Target version: 
Affected Puppet version: 2.7.6
Keywords: AIX user provider puppet
Branch: 


<pre>
debug: User[miketest](provider=aix): Executing '/usr/sbin/lsgroup -a id sysadm'
debug: User[miketest](provider=aix): Executing '/usr/bin/mkuser id=32400 
groups= pgrp=sysadm home=/home/test shell=/bin/bash miketest'
err: /Stage[main]//Node[aix]/User[miketest]/ensure: change from absent to 
present failed: Could not set 'present on ensure: undefined method `ia_module' 
for Puppet::Type::User::ProviderAix:Class at /etc/puppet/manifests/site.pp:103
</pre>

Config:
<pre>
                user {  "miketest":
                        ensure   => present,
                        uid      => 32400,
                        gid      => sysadm,
                        comment  => "test",
                        home     => "/home/test",
                        password => "abc",
                        groups   => "",
                        shell    => "/bin/bash",
                }
</pre>

Note: The creation of the user succeeds, however the failure causes any 
dependent resources to not run.
A second invocation of puppet doesn't give the error, it only seems to occur 
when puppet creates the user initially.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to