[chef] Re: Re: Re: Popup menu through chef


Chronological Thread 
  • From: Kenneth Barry < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Popup menu through chef
  • Date: Mon, 22 Sep 2014 09:03:43 -0700

Maybe you need to adjust/rework the script to run silently?, or accept command line arguments, not in a popup?
What is the script written in now? Batch, Powershell?

On Mon, Sep 22, 2014 at 6:19 AM, Sachin Gupta < " target="_blank"> > wrote:
Thanks Andy,

Actually we have a windows script which has an option of Popup for accepting user option dynamically  and we want to convert that script to some chef recipe.

Yes we can pass the user arguments through json attributes.


Thanks & Regards,
Sachin Kumar

On Mon, Sep 22, 2014 at 6:40 PM, Andy Gale < " target="_blank"> > wrote:
Sachin,

Although it would be possible to do it with ruby, it would be
inadvisable as Chef is really intended to be run without intervention.
Have the users set the required options using JSON attributes when
chef solo or chef-client command is run.

Cheers,

Andy



On Mon, Sep 22, 2014 at 1:11 PM, Sachin Gupta
< " target="_blank"> > wrote:
> Hi All,
>
> Would like to know whether we can have popup type menu through chef recipe
> which can dynamically accept the user selection.
>
> I know we can pass arguments either through json or attribute, but can we
> also achieve this through any popup menu/?
>
>
> Regards,
> Sachin



--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale




--

Kenneth Barry 

TuneIn | Build and Release Engineer
M: 409-673-0544



Archive powered by MHonArc 2.6.16.

§