EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Builder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vagrant
Builder
Commits
e36d651d
Commit
e36d651d
authored
12 years ago
by
Marko Locher
Browse files
Options
Downloads
Plain Diff
Merge branch 'update_readme' of gitlab.eox.at:vagrant/builder_rpm
parents
e0807165
22a74605
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Readme.md
+2
-1
2 additions, 1 deletion
Readme.md
Vagrantfile
+10
-1
10 additions, 1 deletion
Vagrantfile
puppet/manifests/rpmbuild.pp
+1
-5
1 addition, 5 deletions
puppet/manifests/rpmbuild.pp
with
13 additions
and
7 deletions
Readme.md
+
2
−
1
View file @
e36d651d
...
...
@@ -14,8 +14,9 @@ Currently we _automagically_ install the build dependencies for the following pr
*
Install vagrant, see http://docs.vagrantup.com/v1/docs/getting-started/index.html for more information.
*
Clone this project!
```
git clone
git@
gitlab.eox.at
:
vagrant/builder_rpm.git ./
git clone
https://
gitlab.eox.at
/
vagrant/builder_rpm.git ./
```
*
Edit the _Vagrantfile_ and update the project (see the beginning of
[
Vagrantfile
](
/vagrant/builder_rpm/tree/master/Vagrantfile
)
)
*
Copy your source archive into the _build/SOURCES_ folder
*
Copy your spec file into the _build/SPECS_ folder
*
Start the VM
...
...
This diff is collapsed.
Click to expand it.
Vagrantfile
+
10
−
1
View file @
e36d651d
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Change me! (every time you want to build a different RPM) And make sure somebody
# wrote a identically named puppet module. See puppet/modules for a list of
# available modules
project
=
'eox-release'
#
# You should not need to change anything below this line!
#
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,
...
...
@@ -47,7 +56,7 @@ Vagrant::Config.run do |config|
# 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
,
:facter
=>
{
"project"
=>
"mapserver"
}
do
|
puppet
|
config
.
vm
.
provision
:puppet
,
:facter
=>
{
"project"
=>
project
}
do
|
puppet
|
puppet
.
manifests_path
=
"puppet/manifests"
puppet
.
manifest_file
=
"rpmbuild.pp"
puppet
.
module_path
=
"puppet/modules"
...
...
This diff is collapsed.
Click to expand it.
puppet/manifests/rpmbuild.pp
+
1
−
5
View file @
e36d651d
...
...
@@ -4,8 +4,4 @@
include
buildtools
notify
{
"Installing build dependencies for <
$project
>!"
:
}
case
$project
{
'eox-release'
:
{
include
eox
-
release
}
'rasdaman'
:
{
include
rasdaman
}
'mapserver'
:
{
include
mapserver
}
}
\ No newline at end of file
include
$project
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment