Remove old splunk

This commit is contained in:
Raphael 2010-11-17 11:55:29 -08:00
parent 0012c010af
commit f29c84fb48
2 changed files with 8 additions and 1 deletions

View file

@ -10,6 +10,9 @@ end
execute "ssl lib" do
command "yum install -y openssl-devel"
end
execute "htop" do
command "yum install -y htop psmisc screen"
end
def harden_ruby(ruby_string)
Dir.glob("/usr/local/rvm/wrappers/#{ruby_string}/*").each do |file|

View file

@ -6,8 +6,12 @@ execute "Untar splunk" do
command "cd /tmp/install && tar -xvf splunk-4.1.5-85165-Linux-x86_64.tgz"
end
execute "Remove old splunk" do
command "rm -rf /opt/splunk"
end
execute "Install splunk" do
command "mv -f /tmp/install/splunk /opt/splunk"
command "mv /tmp/install/splunk /opt/splunk"
end
execute "Start splunk" do