Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 21 days ago
JSON representation

Serverspec resource type for VyOS config

Awesome Lists containing this project

README

        

# serverspec-vyos-config

![Test](https://github.com/higebu/serverspec-vyos-config/workflows/Test/badge.svg)
[![Code Climate](https://codeclimate.com/github/higebu/serverspec-vyos-config/badges/gpa.svg)](https://codeclimate.com/github/higebu/serverspec-vyos-config)
[![Gem Version](https://badge.fury.io/rb/serverspec-vyos-config.svg)](https://badge.fury.io/rb/serverspec-vyos-config)
[![Downloads](http://ruby-gem-downloads-badge.herokuapp.com/serverspec-vyos-config?type=total&style=flat)](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