Get Started with Puppet Cloud Provisioner for VMware
On the heels of our VMware partnership announcement, we've received a lot of questions about our existing technical integrations with VMware. One of the most widely applicable ways our software works together is the Puppet Cloud Provisioner—a simple tool that allows you to easily spin up, classify, and take down VMware nodes with Puppet Enterprise, enabling you to easily scale and manage your infrastructure.
Puppet Cloud Provisioner ships with Puppet Enterprise; it deploys nodes in virtualized environments and handles the often tedious process of getting a golden image deployed and configured, serving production services. The tool is simple and easy to use, as it adopts the Unix philosophy of doing one thing and doing it really well. By taking advantage of the robust VMware API, it provides a detailed view into your VMware infrastructure and the running virtual machine and templates, as well as takes action on them.
One of the actions that you can perform on a template is deployment. At the command line, all you need to do is tell Cloud Provisioner the path of the template that you wish to deploy, and the name of the resulting virtual machine, and that's it — in a few minutes you'll have a virtual machine running in your environment. For example, the following command will deploy a new virtual machine in your environment based on the Debian squeeze template:puppet node_vmware create --name=newpuppetmaster --template=”/Datacenters/DC1/vm/debian-squeeze”
You can also perform power options (e.g. stop and start on a virtual machine) if you need to perform maintenance. With the following commands you can start or stop the VM that you have just deployed above:puppet node_vmware start /Datacenters/DC1/vm/debian-squeeze puppet node_vmware stop /Datacenters/DC1/vm/debian-squeeze
Once the machine is up and running, Puppet Enterprise users will want to “classify” the machine, which is the process by which we instruct the virtual machine what its function should be, and which Puppet code should be applied to the machine. Puppet Cloud provisioner is perfect for this so that the administrator isn’t required to shell into each new VM and go through the manual process of telling it what Puppet master to talk to.
For more information on using Puppet Cloud Provisioner to deploy, manage, and classify VMware virtual machines in your environment, visit the following docs:
You can also learn more here: