[chef] Re: Re: Re: Oracle Cookbook


Chronological Thread 
  • From: Ari Riikonen < >
  • To:
  • Subject: [chef] Re: Re: Re: Oracle Cookbook
  • Date: Thu, 6 Feb 2014 10:41:08 +0200

Hi Anju,

Have you looked at the bash, execute and script resources in chef?

All of these have the 'user' and 'group' attributes among plenty of other useful ones like 'cwd'. With these you can say under which user and group the resources should be executed.

bash

execute

script

Br, Ari

On Thu, Feb 6, 2014 at 10:32 AM, Anju M R < " target="_blank"> > wrote:
Thank you  Ari

I went through it, but my doubt is

If I have a node, say test-db. I bootstrapped to the machine as 'root'. Is it
possible to execute the install commands as 'oracle' which is another user?  I
did few trials but it failed.




Archive powered by MHonArc 2.6.16.

§