install_options with package in windows

123 views
Skip to first unread message

kaustubh chaudhari

unread,
Aug 19, 2015, 12:40:30 PM8/19/15
to Puppet Users
Hi Team,

I am trying to install vda with puppet.

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

Above is the commend line parameters i need to use with the setup file.

I tried many ways of get this parameters with install_options but no luck.
one option was as below without luck.

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

Any idea how can i pass these parameters to the installer ?

--Kaustubh

kaustubh chaudhari

unread,
Aug 20, 2015, 8:26:51 AM8/20/15
to Puppet Users
Hi All,

Any guidance on providing these install parameters would be really helpful.

-Kaustubh

Robert

unread,
Aug 20, 2015, 9:13:13 AM8/20/15
to Puppet Users
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'],

kaustubh chaudhari

unread,
Aug 20, 2015, 1:11:51 PM8/20/15
to Puppet Users
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.

I have tried the option you mentioned but no luck.

-Kaustubh

Rob Reynolds

unread,
Aug 20, 2015, 11:52:53 PM8/20/15
to puppet...@googlegroups.com
On Thu, Aug 20, 2015 at 12:11 PM, kaustubh chaudhari <kaus...@gmail.com> 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].
 

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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/09840a8f-cb74-493b-ab11-aa85b0fbb493%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Rob Reynolds
Developer, Puppet Labs

PuppetConf 2015 is coming to Portland, Oregon! Join us October 5-9.
Register now to take advantage of the Final Countdown discount save $149!

kaustubh chaudhari

unread,
Aug 21, 2015, 10:02:40 AM8/21/15
to Puppet Users
Thanks Rob for you comments,

I will check the same and let you know how it goes.
Reply all
Reply to author
Forward
0 new messages