Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syucream/sssspec
A simple Serverspec executer by using mruby, named as Single Shot ServerSpec :zap:
https://github.com/syucream/sssspec
mruby mruby-cli serverspec
Last synced: 6 days ago
JSON representation
A simple Serverspec executer by using mruby, named as Single Shot ServerSpec :zap:
- Host: GitHub
- URL: https://github.com/syucream/sssspec
- Owner: syucream
- License: mit
- Created: 2017-06-08T15:59:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-10T15:48:05.000Z (over 7 years ago)
- Last Synced: 2024-10-14T04:56:03.823Z (about 1 month ago)
- Topics: mruby, mruby-cli, serverspec
- Language: Ruby
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sssspec
A simple Serverspec executer by using mruby, named as Single Shot ServerSpec :zap:
## 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
```2. Build sssspec binary.
```
$ rake
```3. Copy ./mruby/bin/sssspec to a test target host.
4. Run sssspec and get its result :)
```
$ ./sssspec
.
Total: 1
OK: 1
KO: 0
Crash: 0
Time: 0.16 seconds
```## Acknowledgement
This project is inspired by [mitamae](https://github.com/itamae-kitchen/mitamae).