This module installs and configures the gremlin agent on a variety of operating systems.
- Description
- Setup - The basics of getting started with gremlin_agent
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
In order to better streamline and standardize the Gremlin agent installation and configuration, this module provides a supported method to manage and maintain the gremlin agent on your systems.
The configuration follows the steps documented on the Gremlin docs
- It installs the dependencies required based on the host OS.
- It installs the gremlin repository, the agent, and the daemon.
- It configures the daemon via
config.yaml
, and manages the service.
You need to provide the gremlin_team_id
and either gremlin_team_secret
or the gremlin_team_certificate_or_file
and gremlin_team_private_key_or_file
These can either come from Hiera or called directly as the below example:
class { 'gremlin_agent':
gremlin_team_id => '11111111-1111-1111-1111-111111111111',
gremlin_team_secret => '11111111-1111-1111-1111-111111111111'
}
gremlin_agent::gremlin_team_id: '11111111-1111-1111-1111-111111111111'
gremlin_agent::gremlin_team_secret: '11111111-1111-1111-1111-111111111111'
If you wish to use the certificate pair instead of the team secret, you can provide either the filepath (prefixed with file://
) or the whole certificate.
class { 'gremlin_agent':
gremlin_team_id => '11111111-1111-1111-1111-111111111111',
gremlin_team_certificate_or_file => 'file://var/lib/gremlin/key.cert',
gremlin_team_private_key_or_file => 'file://var/lib/gremlin/key.pem',
}
Additional parameters that can be set can be viewed in the REFERENCE.md
See REFERENCE.md
This module has had limited testing and doesn't currently support all features. Please open an issue for any bugs discovered.
Feel free to open a PR for suggested changes or improvements.
TODO:
- Finish fleshing out Windows support.
- Add tasks to trigger gremlin checks.
- Add some additional config validation to confirm agent is successfully talking to control plane.