0.15
There's a lot of open issues
Providing a simple command line tool for puppet content creators, to enable simple and complex test deployments.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Runtime

>= 1.34, < 3.0.0
>= 0.2.1, < 1.0.0
~> 3.0
>= 0
>= 0.5.0, < 1.0.0
>= 2.0.1, < 4.0.0
 Project Readme

Litmus

litmus logo

Overview

Litmus is a command line tool that allows you to run acceptance tests against Puppet modules.

Litmus allows you to:

  • Provision targets to test against

  • Install a Puppet agent

  • Install a module

  • Run tests

  • Tear down the infrastructure

Litmus also facilitates parallel test runs and running tests in isolation. Each step is standalone, allowing other operations between test runs, such as debugging or configuration updates on the test targets.

Install Litmus as a gem by running gem install puppet_litmus.

  • Note if you choose to override the litmus_inventory.yaml location, please ensure that the directory strutcture you define exists.

matrix_from_metadata_v2

matrix_from_metadata_v2 tool generates github actions matrix from metadata.json

How to use it: in the project module root directory run bundle exec matrix_from_metadata_v2

--exclude-platforms parameter

matrix_from_metadata_v2 accepts --exclude-platforms <JSON array> option in order to exclude some platforms from GA matrixes.

In order to use this new functionality just simply run:

$: bundle exec matrix_from_metadata_v2 --exclude-platforms '["debian-11","centos-8"]'

Note: The option value should be JSON string otherwise it will throw an error. The values provided in the json array are case-insensitive ["debian-11","centos-8"]' or ["Debian-11","CentOS-8"]' are treated as being the same.

Documentation

For documentation, see our Litmus Docs Site.

Other Resources