puppetlabs / puppet_litmus

Providing a simple command line tool for puppet content creators, to enable simple and complex test deployments.
Apache License 2.0
88 stars 55 forks source link

(FEAT) - Add ability to supply a custom matrix and override default provisioner #506

Closed jordanbreen28 closed 1 year ago

jordanbreen28 commented 1 year ago

Summary

This PR adds the ability to override the default provider for the litmus images from docker to the provision_service, by supplying the --provision-service flag. It also adds the ability to supply a custom matrix (supplied as a file path), so the user can define their images, providers and labels used by matrix_from_metadata_v2. This can be done by passing the --custom-matrix /path/to/matrix.json argument.

Additional Context

This PR also removes the unnecessary provision:: prefix from the provisioner, to prevent this error being continuously thrown: Unsupported provisioner 'provision::docker', try abs/docker/docker_exp/provision_service/vagrant/vmpooler

Related Issues (if any)

Closes https://github.com/puppetlabs/puppet_litmus/issues/453

Checklist