On Thu, Aug 20, 2015 at 12:11 PM, kaustubh chaudhari <[email protected]>
wrote:

> Hi,
>
> Thanks for the reply,
>
> Yes I did that. The problem is :
> below are the install parameters with its options.
>
> /components vda,plugins
> when we add this in key value settings ['/components', 'vda,plugins'] How
> it will be treated as there is a , in between vda and plugins.
>

It should be fine, unless you also need a space between the values. It puts
all of the elements of the array back together with a space in between. If
there is a space in any element, it will surround that with quotes. In the
chocolatey package provider we've talked over the logic for determining how
to pass your install_options[1].

[1]
https://forge.puppetlabs.com/chocolatey/chocolatey#install-options-with-spaces

>
> I have tried the option you mentioned but no luck.
>
> -Kaustubh
>
> On Thursday, August 20, 2015 at 9:13:13 AM UTC-4, Robert wrote:
>>
>> Have you tried splitting keys and values?
>>
>> install_options => ['/components', 'vda,plugins', '/controllers',  '
>> mydev.example.com', '/enable_hdx_ports', '/optimize',
>> '/enable_remote_assistance', '/virtualmachine', '/nodesktopexperience',
>> '/noreboot'],
>>
>

This is very close.

/quiet /components vda,plugins /controllers "mydev.example.com"
/enable_hdx_ports /optimize /enable_remote_assistance /virtualmachine
/nodesktopexperience /noreboot

should translate as

 install_options => ['/components', 'vda,plugins', '/controllers',  '"
mydev.example.com"', '/enable_hdx_ports', '/optimize',
'/enable_remote_assistance', '/virtualmachine', '/nodesktopexperience',
'/noreboot'],

If you are finding that the components bit isn't quite being passed
correctly, you may try surrounding that part with quotes to see if it
handles the "," correctly. As in "vda,plugins". But as I mentioned already,
if there is a space, you need to split this one up as well. Something like
'vda,','plugins'

You can also run with --debug --verbose and see how it is passing the
options so you can see how you need to adjust.

> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/09840a8f-cb74-493b-ab11-aa85b0fbb493%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/09840a8f-cb74-493b-ab11-aa85b0fbb493%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rob Reynolds
Developer, Puppet Labs

*PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland,
Oregon! Join us October 5-9.*
*Register now to take advantage of the Final Countdown discount
<https://www.eventbrite.com/e/puppetconf-2015-october-5-9-register-now-its-the-final-countdown-tickets-13115894995?discount=FinalCountdown>
*
*—**save $149!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMJiBK4jQwh7jJKmuwoumVz_2xK8d2WUut5p7L%2Brz7mDGENwrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to