Skip to content

Commit

Permalink
Uchiwa does not need user/pass to speak with sensu-api
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsErikP committed Mar 15, 2017
1 parent 7dac060 commit eb76ac6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions manifests/sensu/uchiwa.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
install_repo => false,
sensu_api_endpoints => [{
name => $api_name,
host => '127.0.0.1',
port => 4567,
user => '',
pass => '',
timeout => 10,
}],
}
Expand All @@ -23,27 +23,27 @@
include ::apache::mod::proxy_html

apache::vhost { "${uchiwa_url} http":
servername => $uchiwa_url,
serveraliases => [$uchiwa_url],
port => 80,
docroot => false,
manage_docroot => false,
proxy_preserve_host => true,
proxy_pass => [
servername => $uchiwa_url,
serveraliases => [$uchiwa_url],
port => 80,
docroot => false,
manage_docroot => false,
proxy_preserve_host => true,
proxy_pass => [
{
'path' => '/',
'url' => 'http://127.0.0.1:3000/',
'path' => '/',
'url' => 'http://127.0.0.1:3000/',
},
{
'path' => '/socket.io/1/websocket',
'url' => 'ws://127.0.0.1:3000/socket.io/1/websocket',
'path' => '/socket.io/1/websocket',
'url' => 'ws://127.0.0.1:3000/socket.io/1/websocket',
},
{
'path' => '/socket.io/',
'url' => 'http://127.0.0.1:3000/socket.io/',
},
],
custom_fragment => '
custom_fragment => '
ProxyHTMLEnable On
ProxyHTMLURLMap http://127.0.0.1:3000/ /',
}
Expand Down

0 comments on commit eb76ac6

Please sign in to comment.