mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
handle multiple versions update on host install
This commit is contained in:
parent
db9912defb
commit
128f15d90e
@ -205,6 +205,12 @@ upgrade_classic()
|
||||
"2.4")
|
||||
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee /etc/apt/sources.list.d/elasticsearch-2.x.list
|
||||
;;
|
||||
"5.6")
|
||||
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-5.x.list
|
||||
;;
|
||||
"6.2")
|
||||
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-6.x.list
|
||||
;;
|
||||
esac
|
||||
sudo apt-get update && sudo apt-get install --only-upgrade elasticsearch
|
||||
else
|
||||
@ -219,6 +225,12 @@ upgrade_classic()
|
||||
"2.4")
|
||||
brew install homebrew/versions/elasticsearch24
|
||||
;;
|
||||
"5.6")
|
||||
brew install homebrew/versions/elasticsearch56
|
||||
;;
|
||||
"6.2")
|
||||
brew install homebrew/versions/elasticsearch62
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user