Tested with Travis CI
Versions greater than 0.2.6 are incompatible with previous versions of the Yelp-Uchiwa module.
$ puppet module install yelp-uchiwa
- One or more working Sensu installations
- puppetlabs/apt
- puppetlabs/stdlib
- richardc/datacat
See Modulefile
for details.
node 'uchiwa-server.foo.com' {
class { 'uchiwa':
}
}
API definitions will default to the following values:
name => 'sensu'
host => '127.0.0.1'
ssl => false
insecure => false
port => 4567
user => 'sensu'
pass => 'sensu'
path => ''
timeout => 5000
This is an example of a 2 API setup:
node 'uchiwa-server.foo.com' {
$uchiwa_api_config = [{
host => '10.56.5.8',
},
{
host => '10.16.1.25',
ssl => true,
insecure => true,
port => 7654,
user => 'sensu',
pass => 'saBEnX8PQoyz2LG',
path => '/sensu',
timeout => 5000
}]
class { 'uchiwa':
sensu_api_endpoints => $uchiwa_api_config,
}
}
See LICENSE file.