Issue #7236 has been updated by Chris Price.

@Nick Bausch: The output of the failed run that you pasted shows that nimclient 
was trying to install a package whose name included the single quotes.  That's 
why it fails; if you type a bad package name from the CLI, you'll get the same 
kind of error but you'll notice that the single quotes don't appear around the 
package name in the error message.

I suspect that your patch results in a slightly different handling of the 
single quotes when being passed through to the shell.

@Adam Stephens : Is there a scenario where you'd expect the puppet package 
provider to support specifying multiple package names getting passed through to 
`nimclient` in a single declaration of a package resource?  What would you 
expect the manifest to look like?

@Andrew Forgue: Are you still using this provider regularly?  Does it cause 
problems for you if the single quotes are removed?  We seem to be experiencing 
the same behavior that Parker describes and I'm inclined to make the change 
that he suggests.
----------------------------------------
Bug #7236: Nim Package Provider for AIX Fails to install Packages. Fix included!
https://projects.puppetlabs.com/issues/7236#change-81680

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 post to this group, send email to [email protected].
To unsubscribe from 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.


Reply via email to