Issue #11085 has been updated by Dan Kendrick.
Here is the --trace output. <code> warning: iconv doesn't seem to support UTF-8/UTF-16 conversions debug: Failed to load library 'rubygems' for feature 'rubygems' debug: Failed to load library 'selinux' for feature 'selinux' debug: Failed to load library 'shadow' for feature 'libshadow' debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist 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: debug: Puppet::Type::File::ProviderWindows: feature microsoft_windows is missing debug: Failed to load library 'ldap' for feature 'ldap' debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs/CLIENTA.domain.domain.com.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/etc/puppet/ssl/private_keys/CLIENTA.domain.domain.com.pem]: Autorequiring File[/etc/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/public_keys/CLIENTA.domain.domain.com.pem]: Autorequiring File[/etc/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: Finishing transaction 276917550 debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/public_keys/CLIENTA.domain.domain.com.pem]: Autorequiring File[/etc/puppet/ssl/public_keys] debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl/certs/CLIENTA.domain.domain.com.pem]: Autorequiring File[/etc/puppet/ssl/certs] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet] debug: /File[/etc/puppet/ssl/private_keys/CLIENTA.domain.domain.com.pem]: Autorequiring File[/etc/puppet/ssl/private_keys] debug: Finishing transaction 276908350 debug: Using cached certificate for ca debug: Using cached certificate for CLIENTA.domain.domain.com debug: Finishing transaction 276537930 debug: Loaded state in 0.00 seconds info: Retrieving plugin debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for CLIENTA.domain.domain.com debug: Using cached certificate_revocation_list for ca debug: Finishing transaction 276350320 info: Loading facts in dmz info: Loading facts in whichpuppet info: Loading facts in customercode info: Loading facts in fact-template info: Loading facts in sitecode info: Loading facts in gateway info: Loading facts in appcode info: Loading facts in dmz info: Loading facts in whichpuppet info: Loading facts in customercode info: Loading facts in fact-template info: Loading facts in sitecode info: Loading facts in gateway info: Loading facts in appcode debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson info: Caching catalog for CLIENTA.domain.domain.com debug: Puppet::Type::Group::ProviderGroupadd: file groupmod does not exist debug: Puppet::Type::Group::ProviderPw: file /usr/sbin/pw does not exist debug: Puppet::Type::Group::ProviderLdap: true value when expecting false debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Creating default schedules debug: Loaded state in 0.01 seconds info: Applying configuration version '1322645933' debug: /Stage[main]/Motd/require: requires Class[Motd::Params] debug: /Stage[configure]/require: requires Stage[install] debug: /Stage[main]/Nagios::Target/Nagios::Baseservices[CLIENTA]/require: requires Class[Nagios::Params] debug: /Stage[main]/Nagios::Target/Nagios::Host[CLIENTA]/require: requires Class[Nagios::Params] debug: /Stage[prep]/before: requires Stage[main] debug: /Stage[install]/require: requires Stage[prep] debug: /Schedule[never]: Skipping device resources because running on a host debug: /Schedule[daily]: Skipping device resources because running on a host debug: /Schedule[monthly]: Skipping device resources because running on a host debug: /Schedule[puppet]: Skipping device resources because running on a host debug: /Schedule[hourly]: Skipping device resources because running on a host debug: /Schedule[weekly]: Skipping device resources because running on a host debug: Finishing transaction 276382590 debug: Storing state debug: Stored state in 0.02 seconds notice: Finished catalog run in 0.25 seconds debug: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (b64_zlib_yaml) debug: report supports formats: b64_zlib_yaml marshal raw yaml; using b64_zlib_yaml </code> ---------------------------------------- Bug #11085: Puppet Util.rb (wrong number of arguments 2 for 1) https://projects.puppetlabs.com/issues/11085 Author: Dan Kendrick Status: Investigating 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: <pre> 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: </pre> 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.
