[chef] Re: Created windows instance using chef along with require application


Chronological Thread 
  • From: Nathen Harvey < >
  • To: " " < >
  • Subject: [chef] Re: Created windows instance using chef along with require application
  • Date: Sun, 6 Apr 2014 06:05:55 -0400

Vishal,

Have you created cookbooks for each of your components (java, tomcat, mysql, and iis)?  Or have you found cookbooks that will do what you want for each of these?

If not, that's the place to start.  You might find that these cookbooks from the community site offer some good patterns for how to build your cookbooks.  You might even be able to use these directly.
Once you've created the necessary cookbooks, you'll be able to specify the run list using '-r' flag for run list.  Using this, you'll specify the comma separated list of roles/recipes to apply.

For example, something like:

knife ec2 server create -r "recipe[java],recipe[tomcat],role[database],role[webserver]"

Good luck!
Nathen


On Sat, Apr 5, 2014 at 2:15 PM, Vishal Totare < " target="_blank"> > wrote:
Hi Team,

We are able to create ec2 (linux) instance using knife ec2 command along with
created recipe.

Now, the same way i need to create windows machine along with below
application.

1) Java
2) tomact
3) mysql
4) IIS

Can anyone please help me for the same. Since i am only able to create windows
machin using knife ec2 command but not known how to install the above
application on created windows machine in the same command.

Please assist on high priority.

Regards,
Vishal Totare




Archive powered by MHonArc 2.6.16.

§