
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Litmus is a command line tool that allows you to run acceptance tests against Puppet modules.
Litmus allows you to:
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
.
litmus_inventory.yaml
location, please ensure that the directory structure you define exists.To install a specific version of the puppet agent, you can export the PUPPET_VERSION
env var, like below:
export PUPPET_VERSION=8.8.1
When set, the litmus:install_agent
rake task will install the specified version. The default is latest
.
To install a puppetcore puppet agent through the litmus:install_agent
rake task, you need to export your Forge API key as an env var, like below:
export PUPPET_FORGE_TOKEN='<your_forge_api_key>'
matrix_from_metadata_v3 tool generates a github action matrix from the supported operating systems listed in the module's metadata.json.
How to use it:
in the project module root directory run bundle exec matrix_from_metadata_v3
argument | value | default | description |
---|---|---|---|
--matrix | FILE | built-in | File containing possible collections and provisioners |
--metadata | FILE | metadata.json | File containing module metadata json |
--debug | Enable debug messages | ||
--quiet | Disable notice messages | ||
--output | TYPE | auto | Type of output to generate; auto, github or stdout |
--runner | NAME | ubuntu-latest | Default Github action runner |
--puppet-include | MAJOR | Select puppet major version | |
--puppet-exclude | MAJOR | Filter puppet major version | |
--platform-include | REGEX | Select platform | |
--platform-exclude | REGEX | Filter platform | |
--arch-include | REGEX | Select architecture | |
--arch-exclude | REGEX | Filter architecture | |
--provision-prefer | NAME | docker | Prefer provisioner |
--provision-include | NAME | all | Select provisioner |
--provision-exclude | NAME | provision_service | Filter provisioner |
--nightly | Install from the nightly puppetcore images | ||
--latest-agent | Return the latest agent version as part of the matrix. Note: This changes how the collection is returned |
Refer to the built-in matrix.json for a list of supported collection, provisioners, and platforms.
matrix_from_metadata_v3 --platform-include redhat --platform-include 'ubuntu-(20|22).04'
matrix_from_metadata_v3 --platform-exclude redhat-7 --platform-exclude ubuntu-18.04
matrix_from_metadata_v3 --arch-exclude x86_64
matrix_from_metadata_v3 --nightly
For documentation, see our Litmus Docs Site.
This codebase is licensed under Apache 2.0. However, the open source dependencies included in this codebase might be subject to other software licenses such as AGPL, GPL2.0, and MIT.
FAQs
Unknown package
We found that puppet_litmus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.