0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Vagrant plugin to kick off a bunch of predefined tests
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.6.4
>= 0
 Project Readme

Basic usage

$ ls vagrantproject/
Vagrantfile
tests/

$ ls tests/
node01.local
node01.ssh
node02.local
node02.ssh

$ cat tests/node01.local
check_http -H 192.168.1.10 -p 80

$ cat tests/node01.ssh
uptime
facter puppetversion
facter facterversion

$ vagrant kick
[node01] REMOTE
[node01] uptime
[node01] 23:47:27 up  2:36,  0 users,  load average: 0.00, 0.00, 0.00


[node01] facter puppetversion
[node01] 2.6.6


[node01] facter facterversion
[node01] 1.6.0


[node01] LOCAL
[node01] check_http -H 192.168.1.10 -p 80
CRITICAL - Socket timeout after 10 seconds

Local tests

Anything inside $vmname.local will be executed on your local workstation.
This could be used to test if certain ports or services are exposed from the virtual machine using e.g. Nagios plugins or nmap.

Remote tests

Anything you put inside $vmname.local will be executed on your vm called $vmname, using SSH.
The following test...

$ cat tests/node01.ssh
uptime

would return the same output as...

$ ssh 192.168.1.10 "uptime"

Installation using rubygems

$ sudo gem install vagrant-kick

Installation using source

$ rake install
$ ls pkg/
vagrant-kick-0.0.1.gem
$ sudo gem install pkg/vagrant-kick-0.0.1.gem