syucream / sssspec

A simple Serverspec executer by using mruby, named as Single Shot ServerSpec :zap:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sssspec

A simple Serverspec executer by using mruby, named as Single Shot ServerSpec

Quickstart

  1. Write your Serverspec file at mrblib/sssspec.rb.
def __main__(argv)
  describe file('mrblib') do
    it { should be_readable.by('yourgroup').by_user('you') }
  end
end
  1. Build sssspec binary.
$ rake
  1. Copy ./mruby/bin/sssspec to a test target host.

  2. Run sssspec and get its result :)

$ ./sssspec
.
Total: 1
   OK: 1
   KO: 0
Crash: 0
 Time: 0.16 seconds<Paste>

Acknowledgement

This project is inspired by mitamae.

About

A simple Serverspec executer by using mruby, named as Single Shot ServerSpec :zap:

License:MIT License


Languages

Language:Ruby 100.0%