packer-config v1.0.0 gem released!
packer-config is a Ruby interface to the Packer project from HashiCorp. Packer lets you build different kinds of virtualized machine images (Docker, Vagrant, VirtualBox, Amazon AMI, etc.) from standardized and shared configuration code bases and the
packer-config gem lets you write your Packer configurations in Ruby instead of in that hybrid JSON, custom config language that Packer sports. You can use the full power of the Ruby programming language to drive
if/then/else decisions when constructing your Packer configurations and it simplifies the creation of macros and envvar references in your Packer configurations.
There’s a working example in the README for the project that shows you how to provision a customized CentOS 6.6 Vagrant basebox using Packer and the
The 1.0.0 release supports the following builders:
The following provisioners:
- puppet server
- puppet masterless
And the following post-processors:
My thanks to frasercobb who contributed the code behind the
puppet-masterless provisioner interfaces for this release.