summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TESTING.asciidoc3
-rw-r--r--Vagrantfile10
-rw-r--r--buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy1
3 files changed, 10 insertions, 4 deletions
diff --git a/TESTING.asciidoc b/TESTING.asciidoc
index d9fb3daac9..90fa05e5e1 100644
--- a/TESTING.asciidoc
+++ b/TESTING.asciidoc
@@ -347,7 +347,8 @@ These are the linux flavors the Vagrantfile currently supports:
* ubuntu-1404 aka trusty
* ubuntu-1604 aka xenial
-* debian-8 aka jessie, the current debian stable distribution
+* debian-8 aka jessie
+* debian-9 aka stretch, the current debian stable distribution
* centos-6
* centos-7
* fedora-25
diff --git a/Vagrantfile b/Vagrantfile
index a4dc935f15..611f34af41 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -33,13 +33,17 @@ Vagrant.configure(2) do |config|
[ -f /usr/share/java/jayatanaag.jar ] || install jayatana
SHELL
end
- # Wheezy's backports don't contain Openjdk 8 and the backflips required to
- # get the sun jdk on there just aren't worth it. We have jessie for testing
- # debian and it works fine.
+ # Wheezy's backports don't contain Openjdk 8 and the backflips
+ # required to get the sun jdk on there just aren't worth it. We have
+ # jessie and stretch for testing debian and it works fine.
config.vm.define "debian-8" do |config|
config.vm.box = "elastic/debian-8-x86_64"
deb_common config
end
+ config.vm.define "debian-9" do |config|
+ config.vm.box = "elastic/debian-9-x86_64"
+ deb_common config
+ end
config.vm.define "centos-6" do |config|
config.vm.box = "elastic/centos-6-x86_64"
rpm_common config
diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy
index 8c429e94e4..17343cd5ca 100644
--- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy
+++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy
@@ -18,6 +18,7 @@ class VagrantTestPlugin implements Plugin<Project> {
'centos-6',
'centos-7',
'debian-8',
+ 'debian-9',
'fedora-25',
'oel-6',
'oel-7',