[chef] Re: Automating interactive console apps?


Chronological Thread 
  • From: Sascha Bates < >
  • To:
  • Subject: [chef] Re: Automating interactive console apps?
  • Date: Fri, 5 Aug 2011 15:04:33 -0500

NB_INSTALL_CMD = "/bin/sh install < #{File.join(node.netbackup.home_dir, "response")}"

I did that with netbackup and deploy a template that has this in it:

2
y
2
"#{node.netbackup.backup_server1}"
"#{node.hostname}"
q

On Fri, Aug 5, 2011 at 3:00 PM, Brian McKelvey < "> > wrote:
I'm trying to deploy Wowza Media Server using Chef, but all of their
packages, including the .deb and .rpm packages, are wrapped in a .bin
self-extracting installer that uses 'more' to display a license
agreement and requires me to type 'yes' to accept the license before
proceeding.  The rest of the install process is completely automatic
and works fine.

I'd like to somehow use chef to interactively hit 'q' to escape from
'more' and then type 'yes' at the prompt.  Is that possible?  Do you
guys have any other alternative solutions?

Brian




Archive powered by MHonArc 2.6.16.

§