]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/kibana/recipes/default.rb
Add tests for elasticsearch, kibana and logstash cookbooks
[chef.git] / cookbooks / kibana / recipes / default.rb
index 8f20eb5238382f964b6547117b77f4d3a4fc5c46..ceeaf13df57603f5aebe04a3e79fc33e37d6feb5 100644 (file)
@@ -19,6 +19,7 @@
 
 require "yaml"
 
+include_recipe "accounts"
 include_recipe "apache"
 
 apache_module "proxy_http"
@@ -26,7 +27,7 @@ apache_module "proxy_http"
 version = node[:kibana][:version]
 
 remote_file "#{Chef::Config[:file_cache_path]}/kibana-#{version}.tar.gz" do
-  source "https://download.elastic.co/kibana/kibana/kibana-4.1.1-linux-x64.tar.gz"
+  source "https://download.elastic.co/kibana/kibana/kibana-#{version}-linux-x64.tar.gz"
   not_if { ::File.exist?("/opt/kibana-#{version}/bin/kibana") }
 end