summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2011-02-10 14:44:00 -0800
committerDaniel DeLeo <dan@opscode.com>2011-02-10 14:44:00 -0800
commit7779b3462f7e47c0db900cef8cf52bd3d993b9c7 (patch)
treede652d8fa60f6006932beee5063c9e8b706a7c42 /Rakefile
parent444debe73da5008e24406b8cc4a4ea87514c23ec (diff)
downloadchef-7779b3462f7e47c0db900cef8cf52bd3d993b9c7.tar.gz
fix features start for new solr hotness
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 720783f92b..4a46610f7f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -97,6 +97,8 @@ def start_chef_solr(type="normal")
when "normal"
exec("./chef-solr/bin/chef-solr -l debug")
when "features"
+ p = fork { exec("./chef-solr/bin/chef-solr-installer -p /tmp/chef_solr_for_features --force") }
+ Process.wait(p)
exec("./chef-solr/bin/chef-solr -c #{File.join(File.dirname(__FILE__), "features", "data", "config", "server.rb")} -l debug")
end
end