EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit c94f04f4 authored by Marko Locher's avatar Marko Locher
Browse files

initial commit for a vagrant / centos 6 based build box for various projects

parents
No related branches found
No related tags found
No related merge requests found
.vagrant
[submodule "puppet/modules/mockbuild"]
path = puppet/modules/mockbuild
url = https://github.com/jeffmccune/jeffmccune-mockbuild.git
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# This box is a minimal install of centos 6.3
config.vm.box = "centos63"
config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/centos-63-x64.box'
config.vm.host_name = "centos-63-64-rpmbuild.vagrant"
config.vm.customize ["modifyvm", :id, "--memory", 1024]
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
# config.vm.box_url = "http://domain.com/path/to/above.box"
# Boot with a GUI so you can see the screen. (Default is headless)
# config.vm.boot_mode = :gui
# Assign this VM to a host-only network IP, allowing you to access it
# via the IP. Host-only networks can talk to the host machine as well as
# any other machines on the same network, but cannot be accessed (through this
# network interface) by any external networks.
# config.vm.network :hostonly, "192.168.33.10"
# Assign this VM to a bridged network, allowing you to connect directly to a
# network using the host's network device. This makes the VM appear as another
# physical device on your network.
# config.vm.network :bridged
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
config.vm.forward_port 80, 8088
# Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the
# folder, and the third is the path on the host to the actual folder.
# config.vm.share_folder "v-data", "/vagrant_data", "../data"
# Enable provisioning with Puppet stand alone. Puppet manifests
# are contained in a directory path relative to this Vagrantfile.
# You will need to create the manifests directory and a manifest in
# the file rpmbuild.pp in the manifests_path directory.
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "rpmbuild.pp"
puppet.module_path = "puppet/modules"
end
# Auto update guest additions, to use this, please install vagrant-vbguest
# vagrant gem install vagrant-vbguest
Vagrant::Config.run do |config|
# set auto_update to false, if do NOT want to check the correct additions
# version when booting this machine
#config.vbguest.auto_update = false
end
end
\ No newline at end of file
# include mockbuild module from
# https://github.com/jeffmccune/jeffmccune-mockbuild
include mockbuild
Subproject commit 8b38d54ca1bbf2de8d0d5d98b3fdddec41be7822
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment