DevOps Zone is brought to you in partnership with:

Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2574 posts at DZone. You can read more from them at their website. View Full User Profile

ESX Plugin for Chef's Knife Tool

11.15.2011
| 6977 views |
  • submit to reddit
A major need has been filled in the last few weeks with the release of an unofficial, community-built VMware ESX(i) plugin for Opscode Knife.  Knife in an open source command-line tool that comes with Chef and is used to access its server API and repository. 

Even though it's an unofficial plugin, it's the only community plugin I could find for using Knife to .  Maybe the commercial deployment of Chef has one.  Here's a description of the plugin:

This is the unofficial Opscode Knife plugin for ESX. This plugin gives knife the ability to create, bootstrap, and manage virtual machines in a VMWare ESX/ESXi host.

You’ll need an ESX(i)4/5 host with SSH enabled and a privileged user account to connect to it via SSH:

You’ll also need a base VM template (a VMDK in fact) with CentOS/Ubuntu/Fedora and vmware-tools installed.



If you're using ESXi and Chef, go ahead and pick this plugin up so you can create, delete, and list your VMs with Knife.  And be sure to check out all of the other community-built plugins for Chef and Knife.

Source: github.com/rubiojr/knife-esx

Tags: