- Description
- Setup - The basics of getting started with cdmsn/go-agent
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module will install all needed packages for using go-agent and fonfigures mounted shares
This module will install and manage a go agent.
This module expects that the agent can be installed via apt. As this module needs secrets to connect to the go server, you should use something like Blackbox to encrypt the hiera files.
Clone this module and install in puppet module folder
To use module in manifest use:
class { 'go_agent':
agent_key => 'the-key-for-the-agent',
agent_resources => 'the-agent-resources',
agent_environments => 'env1,env2,en3',
go_server => 'ip'
}
Don't check secrets into VCS. Use something like Blackbox
In hiera use:
go_agent::agent_key: the-key-for-the-agent
go_agent::agent_resources: the-agent-resources
go_agent::agent_environments: env1,env2,en3
go_agent::go_server: ip-of-go-server
Don't check secrets into VCS. Use something like Blackbox
Parameter | Type | Description | Default |
---|---|---|---|
agent_key | String | The key for the agent | |
agent_resources | String | The resources the agent provides | |
agent_environments | String | The environmant the agent runs in | |
go_server | String | The ip to the go server | |
java_home | String | desc | "/usr/lib/jvm/java-7-openjdk-amd64/jre" |
Only tested on Ubuntu
clone and start coding...