Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/simonbaeumer/puppet-goss

Puppet module for installing goss
https://github.com/simonbaeumer/puppet-goss

centos goss puppet puppet-module

Last synced: 5 days ago
JSON representation

Puppet module for installing goss

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/SimonBaeumer/puppet-goss.svg?branch=master)](https://travis-ci.org/SimonBaeumer/puppet-goss)

# goss

Puppet module to install `goss`.

## Usage

```puppet
class {'goss':
version => 'v1.2.2', # default is latest
goss_path => '/usr/bin/goss', # path where the binary is saved
goss_conf_path => 'dev/goss_testing.yml', # default is /tmp/goss.yaml
}
```

Take a look at the [dev.pp](dev.pp) and the [development](#development) section for more information(.

## Development

```
# Start a development environment which will give you a shell inside a testing container
$ ./docker-run.sh

# Execute puppet inside the container to apply the profile
$ puppet apply dev.pp
```

## Testing

```
# Start ruby container and get a shell
$ docker run -it -v $(pwd):/app ruby:2.5 /bin/bash

# Install dependencies
$ make deps

# Execute linter
$ make lint

# Execute tests
$ make tests
```

## Integration tests

```
$ make integration-centos
```