Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (22 sloc) 0.818 kb
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.define :gitlab do |hq|
hq.vm.box = "ubuntu1204-amd64"
# Debian Wheezy box: http://sebian.yasaw.net/pub/debian-wheezy-x64.box
#hq.vm.box = "debian-wheezy-x64"
hq.vm.host_name = "gitlab"
hq.vm.network :hostonly, "192.168.1.10"
# Rails port
hq.vm.forward_port 3000, 13000
# Http (nginx)
hq.vm.forward_port 80, 8080
# Ssh (gitolite)
hq.vm.forward_port 22, 2222
hq.vm.share_folder "puppet_modules", "/srv/puppet_modules/gitlab", "."
hq.vm.provision :puppet, :pp_path => "/srv/vagrant-puppet", :options => ["--modulepath", "/srv/puppet_modules", "--certname gitlab_server"] do |puppet|
puppet.manifests_path = "examples"
puppet.manifest_file = "gitlab.pp"
end
end
end
Jump to Line
Something went wrong with that request. Please try again.