- From: "John E. Vincent (lusis)" <
>
- To:
- Cc: ryan T <
>
- Subject: [chef] Re: Any alternative response_file for CentOS?
- Date: Fri, 11 Mar 2011 03:56:12 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Ykg7ZrXAqQBNPQdZ/X3EC2/tzrtsJi/hpM2cv8e6RFIJ+Cjg+GASRUUZmsD7vEXJ7V AHLkA2t6v6oh5m3kgX+psoTNjV5Dp+KHTwg1CElULzLHm1drERvqq08PTK46kJbTwUgV PADVKs/PE+53wxje9ztxR8RC0yJA6f5any/LM=
I think you might be confusing the response_file for Oracle with the
dpkg support for response file. It's been a while since I've done an
"automated" Oracle install but you'll probably want to use the execute
resource.
Essentially it would be something like this gist:
https://gist.github.com/865637
Note that the idempotence checks (not_if/only_if) are somewhat
limited. You'll probably want to create an LWRP in the end unless you
can wrap up the determination of a valid oracle install into a single
statement. For example, here's how we handle creating mysql accounts
for our users:
https://gist.github.com/865645
You can see the hoops I'm jumping through in the 'not_if' statement to
avoid rerunning the work. I really should create a mysql permissions
LWRP.
Hope that helps!
John E. Vincent
http://about.me/lusis
On Fri, Mar 11, 2011 at 3:17 AM, ryan T
<
>
wrote:
>
Hi All,
>
>
I want to write a recipe to install Oracle on EC2 CentOS instance, which
>
requires some interactive input.
>
Use of response_file seems to meet my need.
>
Unfortunately, use of a response file is only supported on Debian and Ubuntu
>
at this time - as Opscode wiki says.
>
>
Is there any other ways to do this in CentOS?
>
>
Thanks,
>
>
Ryan
>
Archive powered by MHonArc 2.6.16.