Issue #7755 has been reported by R.I. Pienaar.

----------------------------------------
Bug #7755: M::Applications#filter_extra_options can return an array and result 
in errors logged and MC_EXTRA_OPTS being ignored
https://projects.puppetlabs.com/issues/7755

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee: R.I. Pienaar
Category: Core
Target version: 1.2.1
Keywords: 
Branch: 
Affected mCollective version: 


The filter_extra_options is supposed to parse MCOLLECTIVE_EXTRA_OPTS and return 
only the bits related -c or --config, if however the options string has only 
unrelated options it returns the original shellwords array which causes an error

<pre>
$ export MCOLLECTIVE_EXTRA_OPTS="-W country=de"
$ mco ping
error 2011/06/02 11:00:46: applications.rb:110:in `load_config' Failed to parse 
MCOLLECTIVE_EXTRA_OPTS: can't convert Array into String
</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].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to