From b15d7018c8b9f090508fd5e13af41e7980ff44b9 Mon Sep 17 00:00:00 2001
From: zhitomirskiyi <ilya@joindiaspora.com>
Date: Sat, 20 Nov 2010 18:24:44 -0800
Subject: [PATCH] making a directory to cd into, for splunk

---
 chef/cookbooks/common/recipes/splunk.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chef/cookbooks/common/recipes/splunk.rb b/chef/cookbooks/common/recipes/splunk.rb
index 097d5e0bdd..6653dc7091 100644
--- a/chef/cookbooks/common/recipes/splunk.rb
+++ b/chef/cookbooks/common/recipes/splunk.rb
@@ -1,5 +1,6 @@
 unless system "splunk status"
   execute "Download splunk" do
+    command "mkdir -p /tmp/install"
     command "cd /tmp/install && wget 'http://www.splunk.com/index.php/download_track?file=4.1.5/linux/splunk-4.1.5-85165-Linux-x86_64.tgz&ac=&wget=true&name=wget&typed=releases'"
   end
 
-- 
GitLab