puppet-goss

Puppet module for installing goss

Downloads
4.8K
Stars
0
Committers
2

goss

Puppet module to install goss.

Usage

  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 and the 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