Skip to content
Extraits de code Groupes Projets
Valider f29c84fb rédigé par Raphael's avatar Raphael
Parcourir les fichiers

Remove old splunk

parent 0012c010
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -10,6 +10,9 @@ end ...@@ -10,6 +10,9 @@ end
execute "ssl lib" do execute "ssl lib" do
command "yum install -y openssl-devel" command "yum install -y openssl-devel"
end end
execute "htop" do
command "yum install -y htop psmisc screen"
end
def harden_ruby(ruby_string) def harden_ruby(ruby_string)
Dir.glob("/usr/local/rvm/wrappers/#{ruby_string}/*").each do |file| Dir.glob("/usr/local/rvm/wrappers/#{ruby_string}/*").each do |file|
......
...@@ -6,8 +6,12 @@ execute "Untar splunk" do ...@@ -6,8 +6,12 @@ execute "Untar splunk" do
command "cd /tmp/install && tar -xvf splunk-4.1.5-85165-Linux-x86_64.tgz" command "cd /tmp/install && tar -xvf splunk-4.1.5-85165-Linux-x86_64.tgz"
end end
execute "Remove old splunk" do
command "rm -rf /opt/splunk"
end
execute "Install splunk" do execute "Install splunk" do
command "mv -f /tmp/install/splunk /opt/splunk" command "mv /tmp/install/splunk /opt/splunk"
end end
execute "Start splunk" do execute "Start splunk" do
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter