Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2014-04-05 08:12:34 +0000
committerFrank Becker2014-04-10 16:05:07 +0000
commit2ec7ba68062ae48fb68b7370034b1f71b7e40eba (patch)
tree87600b398743cf196e06dfd879a97d6e1bec5ba2
parent9ab2b4c6dcabb2f31fa96ff1f7adef48d7cac406 (diff)
downloadorg.eclipse.mylyn.tasks-2ec7ba68062ae48fb68b7370034b1f71b7e40eba.tar.gz
org.eclipse.mylyn.tasks-2ec7ba68062ae48fb68b7370034b1f71b7e40eba.tar.xz
org.eclipse.mylyn.tasks-2ec7ba68062ae48fb68b7370034b1f71b7e40eba.zip
432070: change vagrantfiles to use Vagrant.configure("2")
Change-Id: Ia13887f8534880e9aa8d7357140f37c27d58eb2a Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=432070
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/Vagrantfile14
-rw-r--r--org.eclipse.mylyn.trac.releng/Vagrantfile12
2 files changed, 16 insertions, 10 deletions
diff --git a/org.eclipse.mylyn.bugzilla.releng/Vagrantfile b/org.eclipse.mylyn.bugzilla.releng/Vagrantfile
index dc89cb225..e3271155b 100644
--- a/org.eclipse.mylyn.bugzilla.releng/Vagrantfile
+++ b/org.eclipse.mylyn.bugzilla.releng/Vagrantfile
@@ -1,12 +1,14 @@
-Vagrant::Config.run do |config|
+Vagrant.configure("2") do |config|
config.vm.box = "lucid32"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
-# config.vm.box = "precise32"
-# config.vm.box_url = "http://files.vagrantup.com/precise32.box"
-
- config.vm.forward_port 80, 2080
- config.vm.forward_port 443, 2443
+ config.vm.network "forwarded_port", guest: 80, host: 2080
+ config.vm.network "forwarded_port", guest: 443, host: 2443
+
+ config.vm.provider "virtualbox" do |v|
+ v.name = "Mylyn Tasks: Bugzilla Repositories"
+ end
+
config.vm.provision :puppet, :module_path => "modules"
# , :options => "--verbose --debug"
end \ No newline at end of file
diff --git a/org.eclipse.mylyn.trac.releng/Vagrantfile b/org.eclipse.mylyn.trac.releng/Vagrantfile
index d806a7e9d..69d8d60fa 100644
--- a/org.eclipse.mylyn.trac.releng/Vagrantfile
+++ b/org.eclipse.mylyn.trac.releng/Vagrantfile
@@ -1,9 +1,13 @@
-Vagrant::Config.run do |config|
+Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
- config.vm.forward_port 80, 2080
- config.vm.forward_port 443, 2443
-
+ config.vm.network "forwarded_port", guest: 80, host: 2080
+ config.vm.network "forwarded_port", guest: 443, host: 2443
+
+ config.vm.provider "virtualbox" do |v|
+ v.name = "Mylyn Tasks: Trac Repositories"
+ end
+
config.vm.provision :puppet, :module_path => "modules"
end

Back to the top