Chef Solo Demo Video

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.


4 Replies to “Chef Solo Demo Video”

  1. 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

    1. 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?

  2. 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)

Leave a Reply

Your email address will not be published. Required fields are marked *