A Busser runner plugin for Serverspec
This Gem has now been archived. No active maintainers have come forward in the past 5 years and the original maintainer has since pulled the plugin.
We recommend moving to a maintained project for similar functionality or building and running the Gem yourself.
Put this into your
verifier: name: busser
You may also look at the Busser plugin usage page.
Please put test files into [COOKBOOK]/test/integration/[SUITES]/serverspec/
`-- test `-- integration `-- default `-- serverspec |-- Gemfile |-- localhost | `-- httpd_spec.rb `-- spec_helper.rb
Gemfile is optional. You can specify installing Serverspec version and install the gems you need.
The globbing pattern to match files is
You need to use
"_spec.rb" (underscore), not
If you have to specify the Serverspec version, you can use Gemfile. Example Gemfile:
source 'https://rubygems.org' gem 'serverspec', '< 2.0'
It runs on a target server for testing after ssh log in it.
So you need to specify
set :backend, :exec not
set :backend, :ssh (Serverspec v2).
If you use Serverspec v1, you must specify
include SpecInfra::Helper::Exec not
Apache 2.0 (see LICENSE)