chef-runner version 0.3.0 is out!
The goal of this release is to “ssh all the things” in order to
support any system reachable over SSH. In addition to local Vagrant
machines, chef-runner can now provision remote machines like EC2
instances. To achieve this, I made the following changes:
The argument passed to
-Hnow has the format
[user@]hostname[:port], allowing you to optionally change SSH user
and port. (Other SSH settings can be set via
rsync over SSH is used to transfer files to
the target machine. chef-runner no longer depends on
With Vagrant, instead of running commands via
vagrant ssh, feed
the output of
vagrant ssh-configinto OpenSSH. The same SSH
configuration is used to upload files with rsync.
Introduce flexible driver concept (inspired by Test Kitchen). A
driver is responsible for running commands on and uploading files to a
machine using whatever mechanism is available. chef-runner currently
contains drivers for Vagrant and SSH, but more can – and will – be
Always transfer files with
rsync --compressto speed things up.
Remove Cucumber scenarios. They didn’t add much value to the Go
tests and were very slow. Now Travis builds are much faster.
More and better Go tests.
More and better log messages.
-houtputs more useful usage text (the one shown in the README).
Hope you enjoy this release!
PS: The next release will delight users of Test Kitchen.