DevOps Zone is brought to you in partnership with:

Mitch Pronschinske is the Lead Research Analyst at DZone. Researching and compiling content for DZone's research guides is his primary job. He likes to make his own ringtones, watches cartoons/anime, enjoys card and board games, and plays the accordion. Mitch is a DZone Zone Leader and has posted 2576 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
| 7288 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: