From 8149da683ec7951048d82796a96656bebb0686df Mon Sep 17 00:00:00 2001
From: Marko Locher <marko.locher@eox.at>
Date: Mon, 4 Mar 2013 12:02:42 +0100
Subject: [PATCH] added rpmbuild share, added build dependencies for
 eox-release rpm (which are none) ;)

---
 Vagrantfile                                  | 1 +
 puppet/manifests/rpmbuild.pp                 | 1 +
 puppet/modules/eox-release/manifests/init.pp | 3 +++
 3 files changed, 5 insertions(+)
 create mode 100644 puppet/modules/eox-release/manifests/init.pp

diff --git a/Vagrantfile b/Vagrantfile
index 114c61c..a9dc204 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -38,6 +38,7 @@ 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", "/var/lib/mockbuild/rpmbuild", "rpmbuild"
 
   # Enable provisioning with Puppet stand alone.  Puppet manifests
   # are contained in a directory path relative to this Vagrantfile.
diff --git a/puppet/manifests/rpmbuild.pp b/puppet/manifests/rpmbuild.pp
index 4b3d8fb..32ab7f7 100644
--- a/puppet/manifests/rpmbuild.pp
+++ b/puppet/manifests/rpmbuild.pp
@@ -2,3 +2,4 @@
 # include mockbuild module from
 # https://github.com/jeffmccune/jeffmccune-mockbuild
 include mockbuild
+include eox-release
\ No newline at end of file
diff --git a/puppet/modules/eox-release/manifests/init.pp b/puppet/modules/eox-release/manifests/init.pp
new file mode 100644
index 0000000..b803f91
--- /dev/null
+++ b/puppet/modules/eox-release/manifests/init.pp
@@ -0,0 +1,3 @@
+class eox-release {
+	# build dependencies for the eox-release rpm: none ;)
+}
\ No newline at end of file
-- 
GitLab