EOX GitLab Instance

Commit 5cda9086 authored by Marko Locher's avatar Marko Locher
Browse files

Switched from sharing the whole rpmbuild folder to only share the specs,...

Switched from sharing the whole rpmbuild folder to only share the specs, sources, rpms and srpms subfolder, because there is an error with symlinks and shared folders
parent 00b46522
......@@ -38,7 +38,10 @@ Vagrant::Config.run do |config|
# 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"
config.vm.share_folder "rpmbuild", "/home/vagrant/rpmbuild", "rpmbuild"
config.vm.share_folder "specs", "/home/vagrant/rpmbuild/SPECS", "rpmbuild/SPECS"
config.vm.share_folder "sources", "/home/vagrant/rpmbuild/SOURCES", "rpmbuild/SOURCES"
config.vm.share_folder "rpms", "/home/vagrant/rpmbuild/RPMS", "rpmbuild/RPMS"
config.vm.share_folder "srpms", "/home/vagrant/rpmbuild/SRPMS", "rpmbuild/SRPMS"
# Enable provisioning with Puppet stand alone. Puppet manifests
# are contained in a directory path relative to this Vagrantfile.
......
......@@ -20,4 +20,11 @@ class buildtools {
file { "${home}/rpmbuild":
ensure => directory,
}
}
file {[ "${home}/rpmbuild/BUILD",
"${home}/rpmbuild/BUILDROOT",
"${home}/rpmbuild/RPMS",
"${home}/rpmbuild/SOURCES",
"${home}/rpmbuild/SPECS",
"${home}/rpmbuild/SRPMS" ]:
ensure => directory,
}}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment