From cf17208b593dfc98716927766989fbd6636823a0 Mon Sep 17 00:00:00 2001 From: Swann Croiset Date: Fri, 27 Jan 2017 13:49:39 +0100 Subject: [PATCH] Create the dashboard link when upgrading from 0.10.x Change-Id: I74f5d53f6141ab2a400fb6223a7f2487cdda7adc --- deployment_scripts/puppet/manifests/provision_services.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment_scripts/puppet/manifests/provision_services.pp b/deployment_scripts/puppet/manifests/provision_services.pp index 0f2395e..2cf36f3 100644 --- a/deployment_scripts/puppet/manifests/provision_services.pp +++ b/deployment_scripts/puppet/manifests/provision_services.pp @@ -73,7 +73,7 @@ exec { 'adjust_kibana_replicas': -d '{\"index\": {\"number_of_replicas\": ${number_of_replicas}}}'" } -$kibana_link_created_file = '/var/cache/kibana_link_created' +$kibana_link_created_file = '/var/cache/kibana_link_created_up_1.x' exec { 'notify_kibana_url': creates => $kibana_link_created_file, command => "/usr/bin/curl -sL -w \"%{http_code}\" \ @@ -83,7 +83,7 @@ http://${master_ip}:8000/api/clusters/${deployment_id}/plugin_links \ } if $two_links { - $kibana_viewer_link_created_file = '/var/cache/kibana_viewer_link_created' + $kibana_viewer_link_created_file = '/var/cache/kibana_viewer_link_created_up_1.x' exec { 'notify_kibana_url_for_viewer': creates => $kibana_viewer_link_created_file, command => "/usr/bin/curl -sL -w \"%{http_code}\" \