diff options
Diffstat (limited to 'sdc-os-chef/sdc-elasticsearch/chef-repo')
-rw-r--r-- | sdc-os-chef/sdc-elasticsearch/chef-repo/cookbooks/sdc-elasticsearch/recipes/ES_6_create_kibana_dashboard_virtualization.rb | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/sdc-os-chef/sdc-elasticsearch/chef-repo/cookbooks/sdc-elasticsearch/recipes/ES_6_create_kibana_dashboard_virtualization.rb b/sdc-os-chef/sdc-elasticsearch/chef-repo/cookbooks/sdc-elasticsearch/recipes/ES_6_create_kibana_dashboard_virtualization.rb index 216d103fa3..a35c9bec40 100644 --- a/sdc-os-chef/sdc-elasticsearch/chef-repo/cookbooks/sdc-elasticsearch/recipes/ES_6_create_kibana_dashboard_virtualization.rb +++ b/sdc-os-chef/sdc-elasticsearch/chef-repo/cookbooks/sdc-elasticsearch/recipes/ES_6_create_kibana_dashboard_virtualization.rb @@ -1,12 +1,3 @@ -cookbook_file "/usr/share/elasticsearch/config/kibana_dashboard_virtualization.json" do - source "kibana_dashboard_virtualization.json" - owner "elasticsearch" - group "elasticsearch" - mode "0755" -end - - - ruby_block "check_ElasticSearch_Cluster_Health" do block do #tricky way to load this Chef::Mixin::ShellOut utilities @@ -29,12 +20,6 @@ ruby_block "check_ElasticSearch_Cluster_Health" do retry_delay 2 end -bash "echo status" do - code <<-EOH - echo "DOCKER STARTED" - EOH -end - bash "create Kibana dashboard" do code <<-EOH for file in /root/chef-solo/cookbooks/sdc-elasticsearch/files/default/dashboard_*.json; do @@ -55,4 +40,10 @@ bash "create Kibana visualization" do echo done EOH +end + +bash "echo status" do + code <<-EOH + echo "DOCKER STARTED" + EOH end
\ No newline at end of file |