https://github.com/higebu/serverspec-vyos-config
Serverspec resource type for VyOS config
https://github.com/higebu/serverspec-vyos-config
network ruby serverspec test vyos
Last synced: 5 months ago
JSON representation
Serverspec resource type for VyOS config
- Host: GitHub
- URL: https://github.com/higebu/serverspec-vyos-config
- Owner: higebu
- License: mit
- Created: 2017-01-10T02:39:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T18:18:05.000Z (over 2 years ago)
- Last Synced: 2024-10-04T19:44:24.069Z (almost 2 years ago)
- Topics: network, ruby, serverspec, test, vyos
- Language: Ruby
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serverspec-vyos-config

[](https://codeclimate.com/github/higebu/serverspec-vyos-config)
[](https://badge.fury.io/rb/serverspec-vyos-config)
[](https://rubygems.org/gems/serverspec-vyos-config)
`serverspec-vyos-config` is a [Serverspec](http://serverspec.org) custom resource type for [VyOS](http://vyos.net/wiki/Main_Page) config.
## Installation
```shell
gem install serverspec-vyos-config
```
## Usage
```shell
require 'serverspec_vyos_config'
describe vyos_config('service ssh port') do
it { should be_exists }
its(:value) { should eq '22' }
end
```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request