Rouster, an abstraction layer for controlling Vagrant VMs

Rouster, by Conor Horan-Kates, allows you to control Vagrant virtual machines from Ruby scripts. It was originally created to test Puppet manifests, but also provides a neat DSL for automated control of Vagrant VMs.

app = Rouster.new(:name => 'app' )
app.up()

p app.run('/sbin/service puppet once -t', 2)
# or p app.run_puppet('master', { :expected_exitcode => 2}), if you've required 'rouster/puppet'

app.destroy()

The project is still young, but shows a lot of promise, especially for integration-style testing configuration management with Puppet.

Check out the source and README on Github.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

 
0:00 / 0:00