Skip to content

Commit

Permalink
Merge pull request #18 from jlambert121/kibana_3.1.0
Browse files Browse the repository at this point in the history
update for kibana 3.1.0
  • Loading branch information
jlambert121 committed Jun 3, 2014
2 parents 88aea0d + faa71b2 commit e30bf30
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 28 deletions.
7 changes: 3 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@
$ensure = 'latest',
$es_host = '',
$es_port = 9200,
$modules = [ 'histogram', 'map', 'pie', 'table', 'filtering',
'timepicker', 'text', 'fields', 'hits', 'dashcontrol',
'column', 'derivequeries', 'trends', 'bettermap',
'query', 'terms', 'sparklines' ],
$modules = [ 'histogram', 'map', 'goal', 'table', 'filtering', 'timepicker',
'text', 'hits', 'column', 'trends', 'bettermap', 'query',
'terms', 'stats', 'sparklines' ],
$logstash_logging = false,
$default_board = 'default.json',
) {
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/kibana_init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
describe 'kibana', :type => :class do
let(:facts) { { :concat_basedir => '/var/lib/puppet/concat' } }

it { should include_class('kibana::package') }
it { should include_class('kibana::config') }
it { should contain_class('kibana::package') }
it { should contain_class('kibana::config') }

end

24 changes: 2 additions & 22 deletions templates/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,10 @@ function (Settings) {

return new Settings({

/**
* URL to your elasticsearch server. You almost certainly don't
* want 'http://localhost:9200' here. Even if Kibana and ES are on
* the same host
*
* By default this will attempt to reach ES at the same host you have
* elasticsearch installed on. You probably want to set it to the FQDN of your
* elasticsearch host
* @type {String}
*/
elasticsearch: '<%= scope.lookupvar('es_real') %>',

/**
* The default ES index to use for storing Kibana specific object
* such as stored dashboards
* @type {String}
*/
default_route: '/dashboard/file/default.json',
kibana_index: "kibana-int",

/**
* Panel modules available. Panels will only be loaded when they are defined in the
* dashboard, but this list is used in the "add panel" interface.
* @type {Array}
*/
panel_names: ['<%= scope.lookupvar('modules').join("','") -%>'],

});
});

0 comments on commit e30bf30

Please sign in to comment.