X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/741593ee2bf203c9261f604d094e3d8e621698a8..07417174dc9d0271283aacbe20b1cd73ec374685:/cookbooks/kibana/recipes/default.rb diff --git a/cookbooks/kibana/recipes/default.rb b/cookbooks/kibana/recipes/default.rb index 8f20eb523..ceeaf13df 100644 --- a/cookbooks/kibana/recipes/default.rb +++ b/cookbooks/kibana/recipes/default.rb @@ -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