[chef] Re: simulate key press in a recipe


Chronological Thread 
  • From: Vasiliy Tolstov < >
  • To:
  • Subject: [chef] Re: simulate key press in a recipe
  • Date: Fri, 6 Mar 2015 02:08:48 +0300

2015-03-06 2:06 GMT+03:00 Medya 
< >:
> I know if you have to do that, it means something is wrong ! but for some
> legacy application I really need to run a shell script wait a few seconds
> and then
> type something and  hit "Enter"
>
> is it possible in chef?


use expect for this, or write in ruby needed logic inside recipe.

-- 
Vasiliy Tolstov,
e-mail: 

jabber: 




Archive powered by MHonArc 2.6.16.

§