The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #6935

AIX user provider fails if a gid is specified instead of a name.

Added by Parker Johnson over 3 years ago. Updated over 3 years ago.

Status:DuplicateStart date:04/01/2011
Priority:NormalDue date:12/31/2011
Assignee:-% Done:

100%

Category:providerEstimated time:20.00 hours
Target version:-
Affected Puppet version:development Branch:
Keywords:AIX user provider puppet gid

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

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. :)

[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 /]#

History

#1 Updated by Parker Johnson over 3 years ago

  • Status changed from Unreviewed to Closed
  • % Done changed from 0 to 100

Duplicate ticket. see #6936

#2 Updated by James Turnbull over 3 years ago

  • Status changed from Closed to Duplicate

#3 Updated by James Turnbull over 3 years ago

  • Target version deleted (2.6.x)

Also available in: Atom PDF