This repository was archived by the owner on Jan 29, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Added several package versions and a yum repo file #123
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[voxpupuli] | ||
name=voxpupuli | ||
baseurl=https://dl.bintray.com/voxpupuli/rpm/el/$releasever/$basearch | ||
gpgcheck=0 | ||
repo_gpgcheck=1 | ||
enabled=1 | ||
gpgkey="https://bintray.com/user/downloadSubjectPublicKey?username=voxpupuli" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'debian-9-amd64' do |plat| | ||
plat.servicedir '/lib/systemd/system' | ||
plat.defaultdir '/etc/default' | ||
plat.servicetype 'systemd' | ||
plat.codename 'buster' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:buster' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with 'export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' | ||
plat.install_build_dependencies_with 'DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends ' | ||
plat.output_dir File.join('deb', plat.get_codename) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'debian-9-amd64' do |plat| | ||
plat.servicedir '/lib/systemd/system' | ||
plat.defaultdir '/etc/default' | ||
plat.servicetype 'systemd' | ||
plat.codename 'stretch' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:stretch' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with 'export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' | ||
plat.install_build_dependencies_with 'DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends ' | ||
plat.output_dir File.join('deb', plat.get_codename) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'el-7-x86_64' do |plat| | ||
plat.servicedir '/usr/lib/systemd/system' | ||
plat.defaultdir '/etc/sysconfig' | ||
plat.servicetype 'systemd' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:el7' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with "yum update -y; yum groupinstall --assumeyes 'Development Tools'; yum install --assumeyes autoconf automake createrepo devscripts fakeroot rsync gcc make rpmdevtools rpm-libs yum-utils rpm-sign" | ||
plat.install_build_dependencies_with 'yum install --assumeyes' | ||
|
||
packages = %w[ | ||
bzip2-devel | ||
readline-devel | ||
make | ||
pkgconfig | ||
zlib-devel | ||
pl-cmake | ||
pl-gcc | ||
systemtap-sdt-devel | ||
java-1.8.0-openjdk-headless | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is java needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This (and the below) are both leftovers from when I copied the files from the vanagon puppet_runtime repo. Planned cleanup as part of the next few releases. |
||
] | ||
|
||
plat.provision_with "yum install --assumeyes #{packages.join(' ')}" | ||
|
||
plat.output_dir File.join('el', 'PC1') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PC1 looks like the old Puppet 4 configs There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above ^ |
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'el-8-x86_64' do |plat| | ||
plat.servicedir '/usr/lib/systemd/system' | ||
plat.defaultdir '/etc/sysconfig' | ||
plat.servicetype 'systemd' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:el8' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with "yum update -y; yum groupinstall --assumeyes 'Development Tools'; yum install --assumeyes autoconf automake createrepo rsync gcc make rpmdevtools rpm-libs yum-utils rpm-sign" | ||
plat.install_build_dependencies_with 'yum install --assumeyes' | ||
|
||
packages = %w[ | ||
bzip2-devel | ||
readline-devel | ||
make | ||
pkgconfig | ||
zlib-devel | ||
pl-cmake | ||
pl-gcc | ||
systemtap-sdt-devel | ||
java-1.8.0-openjdk-headless | ||
] | ||
|
||
plat.provision_with "yum install --assumeyes #{packages.join(' ')}" | ||
|
||
plat.output_dir File.join('el', 'PC1') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'ubuntu-16.04-amd64' do |plat| | ||
plat.defaultdir '/etc/default' | ||
plat.servicetype 'systemd' | ||
plat.codename 'xenial' | ||
plat.servicedir '/etc/systemd/system' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:xenial' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with 'export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' | ||
plat.install_build_dependencies_with 'DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends --allow-unauthenticated' | ||
|
||
packages = [ | ||
'libbz2-dev', | ||
'libreadline-dev', | ||
'make', | ||
'pkg-config', | ||
'zlib1g-dev', | ||
'pl-cmake', | ||
'pl-gcc', | ||
'systemtap-sdt-dev', | ||
'openjdk-8-jre-headless' | ||
] | ||
|
||
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends #{packages.join(' ')}" | ||
|
||
plat.output_dir File.join('deb', plat.get_codename, 'PC1') | ||
end |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DTrace is old and, in the case of Debian, not included in the system at all. Not sure if it's really needed for this anyway.