Permalink
Browse files

remove search from default, push to wrapper scripts

  • Loading branch information...
1 parent d993f1a commit d6cd7d7b22489e053a98c7c7c2237ac7eed9d2c7 Zuhaib M Siddique committed Jan 24, 2014
Showing with 0 additions and 7 deletions.
  1. +0 −7 recipes/default.rb
View
@@ -19,13 +19,6 @@
include_recipe "git"
-unless Chef::Config[:solo]
- es_server_results = search(:node, "roles:#{node['kibana']['es_role']} AND chef_environment:#{node.chef_environment}")
- unless es_server_results.empty?
- node.set['kibana']['es_server'] = es_server_results[0]['ipaddress']
- end
-end
-
if node['kibana']['user'].empty?
unless node['kibana']['webserver'].empty?
webserver = node['kibana']['webserver']

0 comments on commit d6cd7d7

Please sign in to comment.