Issue #6936 has been updated by Matthaus Owens.

Target version set to 3.2.0

----------------------------------------
Bug #6936: AIX user provider fails if a gid is specified instead of a name.
https://projects.puppetlabs.com/issues/6936#change-89594

* Author: Parker Johnson
* Status: Merged - Pending Release
* Priority: Normal
* Assignee: 
* Category: provider
* Target version: 3.2.0
* Affected Puppet version: development
* Keywords: AIX user provider puppet gid
* Branch: 
----------------------------------------
Several AIX providers (aixobject/user/group) were merged into the code a couple 
days ago.  I just checked out from source and gave it a try on an AIX6.1 TL4 
host.  Most of it works (thank you! psyched to see puppet and AIX play nice), 
but if you specify a gid instead of a group name, the manifest errors.  See 
below.  I'll be happy to re-test if yall have a hard time finding an AIX host. 
:)

<pre>

[root@sfcloudap001 puppet]# cat modules/test/manifests/init.pp 
class test {

  group{'test_g':
    ensure => present,
    gid => 6969,
  }

  user{'test_u':
    ensure => present,
    uid => 99,
    gid => 6969,
    home => "/tmp/",
  }
}


[root@autobuild /]# puppet agent --test
warning: iconv doesn't seem to support UTF-8/UTF-16 conversions
info: Caching catalog for autobuild.gid.gap.com
info: Applying configuration version '1301604374'
notice: /Stage[main]/Test/Group[test_g]/ensure: created
err: /Stage[main]/Test/User[test_u]/ensure: change from absent to present 
failed:
Could not set 'present on ensure: undefined method `groupname_by_id' for # at 
/etc/puppet/modules/test/manifests/init.pp:13
notice: Finished catalog run in 2.89 seconds
[root@autobuild /]# 

</pre>


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to