Version information
released Feb 29th 2016
This version is compatible with:
- ,
Start using this module
Add this module to your Puppetfile:
mod 'cloudmine-runscope_radar', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
cloudmine/runscope_radar — version 0.1.1 Feb 29th 2016
puppet-runscope_radar
Table of Contents
- Overview
- Requirements - OSes and Puppet modules
- Usage - Quickly getting started
- Configuration - Required and optional configuration options
- Development - Guide for contributing to the module
- Maintainers - Who helps keep this module up to date
- Release Notes / Changelog
Overview
Puppet module for Runscope Radar Agent.
Requirements
Operation Systems
These are the operating systems for which the module has been tested.
- Ubuntu 14.04
Puppet Modules
Usage
If you do not already have an application token, team ID, and agent ID for the Runscope Radar Agent, generate/gather these by manually downloading, unzipping, and running the command without arguments the first time.
Using Hiera
Add required configuration hiera in the appropriate location for your environment, e.g.
runscope_radar::agent_id: my-runscope-agent-id
runscope_radar::team_id: my-runscope-team-id
runscope_radar::token: my-runscope-app-token
Then add include runscope_radar
in your site.pp
or add runscope_radar
to your classes hiera.
Directly without Hiera
class { 'runscope_radar':
agent_id => 'my-runscope-agent-id',
team_id => 'my-runscope-team-id',
token => 'my-runscope-app-token',
}
Configuration
Required Configuration
Parameter | Description | Type | Default |
---|---|---|---|
agent_id | Runscope Radar Agent ID | String | undef |
team_id | Runscope Team ID | String | undef |
token | Runscope application token | String | undef |
Optional Configuration
Parameter | Description | Type | Default |
---|---|---|---|
agent_name | Agent name | String | $::fqdn |
api_host | Runscope API hostname | String | https://api.runscope.com |
cafile | Agent HTTPS Certificate Authority file | String | undef |
config_dir | Configuration directory | String | (auto-detected, see params.pp) |
disconnect_timeout | Agent disconnect timeout in seconds | Fixnum | 5 |
group | Group for running agent | String | runscope |
group_manage | Whether to manage agent group creation | Boolean | true |
install_binary | Installation binary filename | String | (auto-detected, see params.pp) |
install_dir | Installation directory | String | (auto-detected, see params.pp) |
service_enable | Enable agent service on boot | Boolean | true |
service_ensure | Ensure agent service running | Boolean | true |
service_manage | Whether to manage agent service | Boolean | true |
service_style | OS service style | String | (auto-detected, see params.pp) |
threads | Agent threads | Fixnum | 10 |
timeout | Agent timeout in seconds | Fixnum | 20 |
url | Full URL to agent zip file | String | (auto-detected, see params.pp) |
user | User for running agent | String | runscope |
user_manage | Whether to manage agent user creation | Boolean | true |
Development
- Full development and testing workflow with rspec-puppet, puppet-lint, and friends: TESTING.md
To use aws instead of virtualbox vagrant hosts
- vagrant plugin install vagrant-aws
- vagrant plugin install puppet
- vagrant plugin install nugrant (https://github.com/maoueh/nugrant)
- sudo gem install puppet
- Debug comands by setting VAGRANT_LOG to the appropriate level
VAGRANT_LOG=debug vagrant $command (to debug)
- create ~/.vagrantuser
aws:
access_key: "YOUR_KEY"
secret_key: "YOUR_SECRET"
keypair_name: "$USERNAME"
ssh_username: "$USERNAME"
ssh_pubkey: "FULL_PATH_TO_PEM"
- vagrant up --provider aws dummy
- vagrant ssh
- vagrant halt | suspend | destroy
Maintainers
- CloudMine Engineering
Types in this module release
Dependencies
- puppet/archive (0.x)
- puppetlabs/stdlib (4.x)
Copyright (c) 2016 CloudMine, Inc. http://cloudmineinc.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.