Chef Solo Demo Video

by Mark Shead on December 2, 2012

Chef is a tool that lets you manage your server infrastructure in a way that is similar to the way you manage your code using version control. You can even test your chef configuration using tools like Cucumber. In 6.5 minute demo, I’ll show you how to use chef solo (chef without a central server) to install and manage Tomcat 7 and Java 7 on an EC2 instance. The configuration files are stored in GitHub so you can look at them or clone them for your own use.

You’ll probably want to bump the quality of the YouTube video up and play it in full screen to make the text easier to read. If you can’t access YouTube, you can download the video here.

About 

{ 4 comments… read them below or add one }

John April 11, 2013 at 7:48 pm

Hi,
Your chef demo is very useful. I’m trying to install a tomcat in a Redhat Linux server using the chef-solo but that doesn’t have any internet connectivity. Is it possible to make use of the local files(ie yum to redirect to access the local file instead )?. What are the configuration needs to change?. Any help or pointer to the direction will be highly appreciated.

Thank You
John

Reply

Mark Shead April 17, 2013 at 9:26 am

It sounds like you are trying to install tomcat via yum and using chef-solo to run yum. What if you created a local yum repository on the machine and told yum to use that instead of trying to get the repo from the Internet?

Reply

Ray June 30, 2015 at 6:34 am

I am trying to install cheh-solo on Centos6. But I can’t do anything.
[root@chef-solo ~]# sudo chef-solo -j /var/chef/dna.json
[2015-06-30T13:33:19+03:00] WARN: *****************************************
[2015-06-30T13:33:19+03:00] WARN: Did not find config file: /etc/chef/solo.rb, using command line options.
[2015-06-30T13:33:19+03:00] WARN: *****************************************
Starting Chef Client, version 12.4.0

Running handlers:
[2015-06-30T13:33:23+03:00] ERROR: Running exception handlers
Running handlers complete
[2015-06-30T13:33:23+03:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 4.101379036 seconds
[2015-06-30T13:33:23+03:00] ERROR: undefined method `cheffish’ for nil:NilClass
[2015-06-30T13:33:23+03:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Reply

Mark Shead August 5, 2015 at 9:46 pm

It looks like it can’t find solo.rb

Reply

Leave a Comment

Previous post:

Next post: