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
11761264
Commit
11761264
authored
11 years ago
by
Stephan
Browse files
Options
Downloads
Plain Diff
Merge branch 'pypi' of /home/git/repositories/vagrant/builder_rpm
parents
77a66cfd
c65075fc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
puppet/modules/buildtools/manifests/init.pp
+40
-34
40 additions, 34 deletions
puppet/modules/buildtools/manifests/init.pp
with
40 additions
and
34 deletions
puppet/modules/buildtools/manifests/init.pp
+
40
−
34
View file @
11761264
class
buildtools
{
class
buildtools
{
class
{
'repos'
:
class
{
'repos'
:
# add to the repositories stage
# add to the repositories stage
stage
=>
repositories
stage
=>
repositories
}
}
$home
=
'/home/vagrant'
$home
=
'/home/vagrant'
File
{
File
{
owner
=>
'vagrant'
,
owner
=>
'vagrant'
,
group
=>
'vagrant'
,
group
=>
'vagrant'
,
mode
=>
'0644'
,
mode
=>
'0644'
,
}
}
package
{
'rpm-build'
:
ensure
=>
'latest'
}
package
{
'rpm-build'
:
ensure
=>
'latest'
}
package
{
'yum-utils'
:
ensure
=>
'latest'
}
package
{
'yum-utils'
:
ensure
=>
'latest'
}
package
{
'mock'
:
ensure
=>
'latest'
}
package
{
'mock'
:
ensure
=>
'latest'
}
package
{
'redhat-rpm-config'
:
ensure
=>
'latest'
}
package
{
'redhat-rpm-config'
:
ensure
=>
'latest'
}
package
{
'make'
:
ensure
=>
'latest'
}
package
{
'make'
:
ensure
=>
'latest'
}
package
{
'gcc'
:
ensure
=>
'latest'
}
package
{
'gcc'
:
ensure
=>
'latest'
}
package
{
'gcc-c++'
:
ensure
=>
'latest'
}
package
{
'gcc-c++'
:
ensure
=>
'latest'
}
file
{
$home
:
ensure
=>
directory
}
file
{
$home
:
ensure
=>
directory
}
file
{
"
${home}
/.rpmmacros"
:
file
{
"
${home}
/.rpmmacros"
:
ensure
=>
file
,
ensure
=>
file
,
content
=>
"%_topdir
${home}
/rpmbuild
\n
%__os_install_post %{nil}
\n
"
,
content
=>
"%_topdir
${home}
/rpmbuild
\n
%__os_install_post %{nil}
\n
"
,
}
}
file
{
"
${home}
/rpmbuild"
:
file
{
"
${home}
/rpmbuild"
:
ensure
=>
directory
,
ensure
=>
directory
,
}
}
file
{[
"
${home}
/rpmbuild/BUILD"
,
file
{[
"
${home}
/rpmbuild/BUILD"
,
"
${home}
/rpmbuild/BUILDROOT"
,
"
${home}
/rpmbuild/BUILDROOT"
,
"
${home}
/rpmbuild/RPMS"
,
"
${home}
/rpmbuild/RPMS"
,
"
${home}
/rpmbuild/SOURCES"
,
"
${home}
/rpmbuild/SOURCES"
,
"
${home}
/rpmbuild/SPECS"
,
"
${home}
/rpmbuild/SPECS"
,
"
${home}
/rpmbuild/SRPMS"
]:
"
${home}
/rpmbuild/SRPMS"
]:
ensure
=>
directory
,
ensure
=>
directory
,
mode
=>
'0775'
mode
=>
'0775'
}}
}
file
{
"
${home}
/.pypirc"
:
ensure
=>
file
,
content
=>
"[distutils]
\n
index-servers =
\n
pypi
\n\n
[pypi]
\n
username:<USER>
\n
password:<PW>
\n
"
,
}
}
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