Issue #11085 has been reported by Dan Kendrick. ---------------------------------------- Bug #11085: Puppet Util.rb (wrong number of arguments 2 for 1) https://projects.puppetlabs.com/issues/11085
Author: Dan Kendrick Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: First a little background. I am trying to get puppet working with AIX 5.3 and 6.1. I have ruby 1.8.7 with puppet 2.7.6 working somewhat. On a few items, like diff, lsuser, mkgroup, and a couple of other various commands. Im getting the error: DIFF: debug: /Stage[main]/Motd/File[/etc/motd]/content: Executing '/opt/freeware/bin/diff -u /etc/motd /tmp/puppet-file20111129-5177582-10qm9a2-0' wrong number of arguments (2 for 1) LSUSER: debug: User[puppet](provider=aix): Executing '/usr/sbin/lsuser puppet' wrong number of arguments (2 for 1) debug: aix.getinfo(): Could not find user puppet: Execution of '/usr/sbin/lsuser puppet' returned 1: MKGROUP: debug: Group[testgrp](provider=mkgroup): Executing '/usr/bin/mkgroup id=10999 testgrp' wrong number of arguments (2 for 1) err: /Stage[main]//Node[CLIENTA]/Group[testgrp]/ensure: change from absent to present failed: Could not create group testgrp: Execution of '/usr/bin/mkgroup id=10999 testgrp' returned 1: At first I thought this was the AIX provider until the DIFF showed the same error. I then wrote my own AIX group provider that was different to that of keymon's, and the error remains. Im trying to add backtrace to util.rb to find where its failing, and its exiting at line 380. The part that is really confusing for me is if I run the command that puppet states has wrong number of arguments, followed by an echo $?, then I get return 0, and the command worked as expected. I think there is an issue where util validates the arguments, but I havent mucked around with the puppet core enough not to break it. Any help would be appreciated as this is the only real show stopper for AIX at the moment. -- 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.
