Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
Timeout param now takes seconds rather than ms
Browse files Browse the repository at this point in the history
The uchiwa timeout param now takes 5 seconds rather than ms. I changed
Puppet default to reflect this.
  • Loading branch information
queeno committed Nov 18, 2014
1 parent 229bb7f commit f8e8e27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
16 changes: 7 additions & 9 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,13 @@
# [*sensu_api_endpoints*]
# Array of hashes
# Default: [{
# name => 'sensu',
# host => 'false,
# ssl => false,
# insecure => false,
# port => 4567,
# user => 'sensu',
# pass => 'sensu',
# path => '',
# timeout => 5000
# name => 'sensu',
# ssl => false,
# port => 4567,
# user => 'sensu',
# pass => 'sensu',
# path => '',
# timeout => 5,
# }]
# An array of API endpoints to connect uchiwa to one or multiple sensu servers.
#
Expand Down
16 changes: 7 additions & 9 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@
$manage_user = true

$sensu_api_endpoints = [{
name => 'sensu',
host => '127.0.0.1',
ssl => false,
insecure => false,
port => 4567,
user => 'sensu',
pass => 'sensu',
path => '',
timeout => 5000,
name => 'sensu',
ssl => false,
port => 4567,
user => 'sensu',
pass => 'sensu',
path => '',
timeout => 5,
}]

$host = '0.0.0.0'
Expand Down

0 comments on commit f8e8e27

Please sign in to comment.