Jesse Dearing changelog.com/posts

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.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00