EOX GitLab Instance

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

replaced mockbuild module with a simpler one

parent 8149da68
No related branches found
No related tags found
No related merge requests found
...@@ -14,31 +14,31 @@ Vagrant::Config.run do |config| ...@@ -14,31 +14,31 @@ Vagrant::Config.run do |config|
# The url from where the 'config.vm.box' box will be fetched if it # The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system. # doesn't already exist on the user's system.
# config.vm.box_url = "http://domain.com/path/to/above.box" #config.vm.box_url = "http://domain.com/path/to/above.box"
# Boot with a GUI so you can see the screen. (Default is headless) # Boot with a GUI so you can see the screen. (Default is headless)
# config.vm.boot_mode = :gui #config.vm.boot_mode = :gui
# Assign this VM to a host-only network IP, allowing you to access it # 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 # 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 # any other machines on the same network, but cannot be accessed (through this
# network interface) by any external networks. # network interface) by any external networks.
# config.vm.network :hostonly, "192.168.33.10" #config.vm.network :hostonly, "192.168.33.10"
# Assign this VM to a bridged network, allowing you to connect directly to a # 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 # network using the host's network device. This makes the VM appear as another
# physical device on your network. # physical device on your network.
# config.vm.network :bridged #config.vm.network :bridged
# Forward a port from the guest to the host, which allows for outside # Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not. # computers to access the VM, whereas host only networking does not.
config.vm.forward_port 80, 8088 #config.vm.forward_port 80, 8088
# Share an additional folder to the guest VM. The first argument is # 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 # 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. # folder, and the third is the path on the host to the actual folder.
# config.vm.share_folder "v-data", "/vagrant_data", "../data" # config.vm.share_folder "v-data", "/vagrant_data", "../data"
config.vm.share_folder "rpmbuild", "/var/lib/mockbuild/rpmbuild", "rpmbuild" config.vm.share_folder "rpmbuild", "/home/vagrant/rpmbuild", "rpmbuild"
# Enable provisioning with Puppet stand alone. Puppet manifests # Enable provisioning with Puppet stand alone. Puppet manifests
# are contained in a directory path relative to this Vagrantfile. # are contained in a directory path relative to this Vagrantfile.
......
# include mockbuild module from # include mockbuild module from
# https://github.com/jeffmccune/jeffmccune-mockbuild # https://github.com/jeffmccune/jeffmccune-mockbuild
include mockbuild include buildtools
include eox-release include eox-release
\ No newline at end of file include rasdaman
\ No newline at end of file
class buildtools {
$home = '/home/vagrant'
File {
owner => 'vagrant',
group => 'vagrant',
mode => '0644',
}
package { 'rpm-build': ensure => 'latest' }
package { 'redhat-rpm-config': ensure => 'latest' }
package { 'make': ensure => 'latest' }
package { 'gcc': ensure => 'latest' }
file { $home: ensure => directory }
file { "${home}/.rpmmacros":
ensure => file,
content => "%_topdir ${home}/rpmbuild\n",
}
file { "${home}/rpmbuild":
ensure => directory,
}
}
Subproject commit 8b38d54ca1bbf2de8d0d5d98b3fdddec41be7822
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment