Issue #5432 has been updated by Parker Johnson.

I've been eagerly awaiting this patch!  I just checked out from source and gave 
it a try on an AIX6.1 TL4 host.  Most of this works, but if you specify a gid 
instead of a group name, the manifest errors.  I'd be happy to submit this as a 
bug.

[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 #<Puppet::Type::User::ProviderAix:0x213aca98> at 
/etc/puppet/modules/test/manifests/init.pp:13
notice: Finished catalog run in 2.89 seconds
[root@autobuild /]# 
----------------------------------------
Feature #5432: Use AIX native commands to manage users and groups
https://projects.puppetlabs.com/issues/5432

Author: Hector Rivas
Status: Available In Testing Branch
Priority: Normal
Assignee: 
Category: provider
Target version: Statler
Affected Puppet version: development
Keywords: AIX user provider group community patch
Branch: https://github.com/keymon/puppet/tree/feature/master/5432


Specific providers should be created for AIX to manage users and groups.

AIX bases the authentication management on a set of commands: mkuser, rmuser, 
chuser, lsuser, mkgroup, rmgroup, chgroup, lsgroup, etc.




-- 
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