Brion VIBBER has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/198280

Change subject: Support Parallels VM provider for Vagrant
......................................................................

Support Parallels VM provider for Vagrant

Enable with:

  $ vagrant up --provider=parallels

Requires plugins:

  * Parallels provider - http://parallels.github.io/vagrant-parallels/
    $ vagrant plugin install vagrant-parallels

  * Puppet installer - https://github.com/petems/vagrant-puppet-install
    $ vagrant plugin install vagrant-puppet-install

Note that port forwarding works via localhost but not via external interfaces
of the host machine by default.

Change-Id: Iaf91b73afffec963a847b9ccb35e5121d48a17ca
---
M Vagrantfile
1 file changed, 18 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/80/198280/1

diff --git a/Vagrantfile b/Vagrantfile
index 19c481d..0814a92 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -97,6 +97,24 @@
         override.vm.box = 'Wikimedia/trusty64-puppet-lxc'
     end
 
+    # Parallels provider. Enable with `--provider=parallels`
+    #
+    # Requires plugins:
+    #   * Parallels provider - http://parallels.github.io/vagrant-parallels/
+    #     $ vagrant plugin install vagrant-parallels
+    #   * Puppet installer - https://github.com/petems/vagrant-puppet-install
+    #     $ vagrant plugin install vagrant-puppet-install
+    #
+    # Note that port forwarding works via localhost but not via external 
interfaces
+    # of the host machine by default...
+    config.vm.provider :parallels do |vw, override|
+        override.vm.box = 'parallels/ubuntu-14.04'
+
+        config.puppet_install.puppet_version = :latest
+
+        override.vm.network :private_network, ip: settings[:static_ip]
+    end
+
     config.vm.network :forwarded_port,
         guest: 80, host: settings[:http_port], id: 'http'
 

-- 
To view, visit https://gerrit.wikimedia.org/r/198280
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf91b73afffec963a847b9ccb35e5121d48a17ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <br...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to