Issue #7236 has been updated by Ben Hocker.
Is there any update to this issue? I'm having the same issue as Nick although
I don't see any issue with my puppet module. If I remove the single quotes
from nim.rb, it does seem to correct the issue when installing one package. But
if you need to install multiple in one command, then it won't work.
<pre>
elsif $::operatingsystem == 'AIX' {
package { $package_list:
ensure => 'latest',
provider => 'nim',
source => $lpp_source,
}
}
</pre>
One package:
<pre>
if $::operatingsystem == 'AIX' {
$package_list = 'mqm.ft.agent'
$lpp = 'aix7101_lpp'
}
</pre>
Result:
<pre>
err: /Stage[main]/Mqfte::Agent::Install/Package[mqm.ft.agent]/ensure: change
from absent to latest failed: Could not update: Execution of
'/usr/sbin/nimclient -o cust -a installp_flags=acgwXY -a lpp_source=aix7101_lpp
-a filesets='mqm.ft.agent'' returned 1:
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
'mqm.ft.agent' Not found on the installation media
0042-001 nimclient: processing error encountered on "n03audtst":
0042-175 c_script: An unexpected result was returned by the
"nim.fpd.cat.com:/export/nim/scripts/n03audtst.script" command:
See the log file:
/var/adm/ras/nim.installp
for details or use the "showlog" operation.
</pre>
Long string of packages:
<pre>
if $::operatingsystem == 'AIX' {
$package_list = 'mqm.base.runtime mqm.jre.rte mqm.java.rte mqm.ft.base
mqm.man.en_US.data mqm.ft.agent'
$lpp = 'aix7101_lpp'
}
</pre>
Result:
<pre>
err: /Stage[main]/Mqfte::Agent::Install/Package[mqm.base.runtime mqm.jre.rte
mqm.java.rte mqm.ft.base mqm.man.en_US.data mqm.ft.agent]/ensure: change from
absent to latest failed: Could not update: Execution of '/usr/sbin/nimclient -o
cust -a installp_flags=acgwXY -a lpp_source=aix7101_lpp -a
filesets='mqm.base.runtime mqm.jre.rte mqm.java.rte mqm.ft.base
mqm.man.en_US.data mqm.ft.agent'' returned 1:
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
'mqm.base.runtime Not found on the installation media
mqm.ft.agent' Not found on the installation media
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
mqm.base.runtime 7.5.0.0 USR APPLY SUCCESS
mqm.base.runtime 7.5.0.0 ROOT APPLY SUCCESS
mqm.man.en_US.data 7.5.0.0 SHARE APPLY SUCCESS
mqm.jre.rte 7.5.0.0 USR APPLY SUCCESS
mqm.java.rte 7.5.0.0 USR APPLY SUCCESS
mqm.ft.base 7.5.0.0 USR APPLY SUCCESS
0042-001 nimclient: processing error encountered on "n03audtst":
0042-175 c_script: An unexpected result was returned by the
"nim.fpd.cat.com:/export/nim/scripts/n03audtst.script" command:
See the log file:
/var/adm/ras/nim.installp
for details or use the "showlog" operation.
</pre>
Array of packages:
<pre>
if $::operatingsystem == 'AIX' {
$package_list = [
'mqm.base.runtime',
'mqm.jre.rte',
'mqm.java.rte',
'mqm.ft.base',
'mqm.man.en_US.data',
'mqm.ft.agent'
]
$lpp = 'aix7101_lpp'
}
</pre>
Result:
<pre>
err: /Stage[main]/Mqfte::Agent::Install/Package[mqm.ft.agent]/ensure: change
from absent to latest failed: Could not update: Execution of
'/usr/sbin/nimclient -o cust -a installp_flags=acgwXY -a lpp_source=aix7101_lpp
-a filesets='mqm.ft.agent'' returned 1:
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
'mqm.ft.agent' Not found on the installation media
0042-001 nimclient: processing error encountered on "n03audtst":
0042-175 c_script: An unexpected result was returned by the
"nim.fpd.cat.com:/export/nim/scripts/n03audtst.script" command:
See the log file:
/var/adm/ras/nim.installp
for details or use the "showlog" operation.
</pre>
When I try to install an invalid package from the command line:
<pre>
root@server
[/opt/freeware/lib/ruby/gems/1.8/gems/puppet-2.6.7/lib/puppet/provider/package]
# /usr/sbin/nimclient -o cust -a installp_flags=acgwXY -a
lpp_source=aix7101_lpp -a filesets='mqm.ft.agent2'
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
mqm.ft.agent2 Not found on the installation media
0042-001 nimclient: processing error encountered on "n03audtst":
0042-175 c_script: An unexpected result was returned by the
"nim.fpd.cat.com:/export/nim/scripts/n03audtst.script" command:
See the log file:
/var/adm/ras/nim.installp
for details or use the "showlog" operation.
</pre>
----------------------------------------
Bug #7236: Nim Package Provider for AIX Fails to install Packages. Fix included!
https://projects.puppetlabs.com/issues/7236#change-87896
* Author: Parker Johnson
* Status: Requires CLA to be signed
* Priority: Normal
* Assignee: Parker Johnson
* Category: provider
* Target version:
* Affected Puppet version: development
* Keywords: AIX nimclient nim.rb packages
* Branch:
----------------------------------------
Found a minor bug in puppet/provider/package/nim.rb. Filesets fail to install.
After removing the single quotes around the "filesets" argument to nimclient,
works fine. I have been talking with James Turnbull about this and he
suggested I file a bug. See the diff below.
<pre>
[root@autobuild-m /]# diff
/usr/local/lib/ruby/site_ruby/1.8/puppet/provider/package/nim.rb
/usr/local/lib/ruby/site_ruby/1.8/puppet/provider/package/nim.rb.orig
33c33
< nimclient "-o", "cust", "-a", "installp_flags=acgwXY", "-a",
"lpp_source=#{source}", "-a", "filesets=#{pkg}"
---
> nimclient "-o", "cust", "-a", "installp_flags=acgwXY", "-a",
>"lpp_source=#{source}", "-a", "filesets='#{pkg}'"
[root@autobuild-m /]#
</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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.