vanagon 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vanagon/platform/defaults/osx-10.15-x86_64.rb +1 -1
- data/spec/lib/vanagon/project/dsl_spec.rb +6 -6
- data/spec/lib/vanagon/utilities/extra_files_signer_spec.rb +36 -24
- metadata +27 -33
- data/lib/vanagon/platform/defaults/debian-9-amd64.rb +0 -12
- data/lib/vanagon/platform/defaults/debian-9-i386.rb +0 -12
- data/lib/vanagon/platform/defaults/fedora-32-x86_64.rb +0 -11
- data/lib/vanagon/platform/defaults/fedora-34-x86_64.rb +0 -17
- data/lib/vanagon/platform/defaults/ubuntu-16.04-amd64.rb +0 -12
- data/lib/vanagon/platform/defaults/ubuntu-16.04-i386.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bda77708ce132b1087ddce71cffc9235971f7e14777e2f76094c39ef678b9f1a
|
4
|
+
data.tar.gz: 913cb403236bcde10ba56c482003796a4043ed7c1ff87c6494c488bb76a45739
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d22bd8f7f64c5315e1ca851207fc494d0c57ba087213ab1572d69b3b94d1370f71c63f667c5b540ff28547c7edc4fce16b27a98dde6a81b9332d217254c33ce
|
7
|
+
data.tar.gz: ab78fff0bdbe7124d05c9b433f463e619f488536f58437df79856a27db45d85d1adb4d52615b2008bb870b913bff7e1ace84141cd5575097de7e826338f38e89
|
@@ -15,7 +15,7 @@ platform "osx-10.15-x86_64" do |plat|
|
|
15
15
|
plat.provision_with "echo 'test ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/username"
|
16
16
|
plat.provision_with "mkdir -p /etc/homebrew"
|
17
17
|
plat.provision_with "cd /etc/homebrew"
|
18
|
-
plat.provision_with %Q(su test -c 'echo | /
|
18
|
+
plat.provision_with %Q(su test -c 'echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"')
|
19
19
|
plat.provision_with "sudo chown -R test:admin /Users/test/"
|
20
20
|
plat.vmpooler_template "osx-1015-x86_64"
|
21
21
|
end
|
@@ -246,8 +246,8 @@ end" }
|
|
246
246
|
allow_any_instance_of(Vanagon::Project::DSL).to receive(:puts)
|
247
247
|
@el_plat = Vanagon::Platform::DSL.new('el-6-x86_64')
|
248
248
|
@el_plat.instance_eval("platform 'el-6-x86_64' do |plat| end")
|
249
|
-
@deb_plat = Vanagon::Platform::DSL.new('ubuntu-
|
250
|
-
@deb_plat.instance_eval("platform 'ubuntu-
|
249
|
+
@deb_plat = Vanagon::Platform::DSL.new('ubuntu-18.04-amd64')
|
250
|
+
@deb_plat.instance_eval("platform 'ubuntu-18.04-amd64' do |plat| end")
|
251
251
|
end
|
252
252
|
|
253
253
|
it 'adds the package provide to the list of provides' do
|
@@ -328,8 +328,8 @@ end" }
|
|
328
328
|
allow_any_instance_of(Vanagon::Project::DSL).to receive(:puts)
|
329
329
|
@el_plat = Vanagon::Platform::DSL.new('el-6-x86_64')
|
330
330
|
@el_plat.instance_eval("platform 'el-6-x86_64' do |plat| end")
|
331
|
-
@deb_plat = Vanagon::Platform::DSL.new('ubuntu-
|
332
|
-
@deb_plat.instance_eval("platform 'ubuntu-
|
331
|
+
@deb_plat = Vanagon::Platform::DSL.new('ubuntu-18.04-amd64')
|
332
|
+
@deb_plat.instance_eval("platform 'ubuntu-18.04-amd64' do |plat| end")
|
333
333
|
end
|
334
334
|
|
335
335
|
it 'adds the package replacement to the list of replacements' do
|
@@ -406,8 +406,8 @@ end" }
|
|
406
406
|
allow_any_instance_of(Vanagon::Project::DSL).to receive(:puts)
|
407
407
|
@el_plat = Vanagon::Platform::DSL.new('el-6-x86_64')
|
408
408
|
@el_plat.instance_eval("platform 'el-6-x86_64' do |plat| end")
|
409
|
-
@deb_plat = Vanagon::Platform::DSL.new('ubuntu-
|
410
|
-
@deb_plat.instance_eval("platform 'ubuntu-
|
409
|
+
@deb_plat = Vanagon::Platform::DSL.new('ubuntu-18.04-amd64')
|
410
|
+
@deb_plat.instance_eval("platform 'ubuntu-18.04-amd64' do |plat| end")
|
411
411
|
end
|
412
412
|
|
413
413
|
it 'adds the package conflict to the list of conflicts' do
|
@@ -81,18 +81,24 @@ describe Vanagon::Utilities::ExtraFilesSigner do
|
|
81
81
|
context 'when macos' do
|
82
82
|
it 'generates signing commands for each file using --extended-attributes' do
|
83
83
|
commands = Vanagon::Utilities::ExtraFilesSigner.commands(project._project, mktemp, source_dir)
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
)
|
84
|
+
expected_commands = [
|
85
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/a.rb' > /tmp/xyz/sign_extra_file"),
|
86
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes $(tempdir)/dir/source_dir/test1/a.rb test@abc:/tmp/xyz),
|
87
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
88
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes test@abc:/tmp/xyz/a.rb $(tempdir)/dir/source_dir/test1/a.rb),
|
89
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/b.rb' > /tmp/xyz/sign_extra_file"),
|
90
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes $(tempdir)/dir/source_dir/test2/b.rb test@abc:/tmp/xyz),
|
91
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
92
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes test@abc:/tmp/xyz/b.rb $(tempdir)/dir/source_dir/test2/b.rb)
|
93
|
+
]
|
94
|
+
expect(commands[0]).to match(expected_commands[0])
|
95
|
+
expect(commands[1]).to match(expected_commands[1])
|
96
|
+
expect(commands[2]).to match(expected_commands[2])
|
97
|
+
expect(commands[3]).to match(expected_commands[3])
|
98
|
+
expect(commands[4]).to match(expected_commands[4])
|
99
|
+
expect(commands[5]).to match(expected_commands[5])
|
100
|
+
expect(commands[6]).to match(expected_commands[6])
|
101
|
+
expect(commands[7]).to match(expected_commands[7])
|
96
102
|
end
|
97
103
|
end
|
98
104
|
|
@@ -107,18 +113,24 @@ describe Vanagon::Utilities::ExtraFilesSigner do
|
|
107
113
|
|
108
114
|
it 'generates signing commands for each file' do
|
109
115
|
commands = Vanagon::Utilities::ExtraFilesSigner.commands(project._project, mktemp, source_dir)
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
)
|
116
|
+
expected_commands = [
|
117
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/a.rb' > /tmp/xyz/sign_extra_file"),
|
118
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group $(tempdir)/dir/source_dir/test1/a.rb test@abc:/tmp/xyz),
|
119
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
120
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group test@abc:/tmp/xyz/a.rb $(tempdir)/dir/source_dir/test1/a.rb),
|
121
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/b.rb' > /tmp/xyz/sign_extra_file"),
|
122
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group $(tempdir)/dir/source_dir/test2/b.rb test@abc:/tmp/xyz),
|
123
|
+
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
124
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group test@abc:/tmp/xyz/b.rb $(tempdir)/dir/source_dir/test2/b.rb)
|
125
|
+
]
|
126
|
+
expect(commands[0]).to match(expected_commands[0])
|
127
|
+
expect(commands[1]).to match(expected_commands[1])
|
128
|
+
expect(commands[2]).to match(expected_commands[2])
|
129
|
+
expect(commands[3]).to match(expected_commands[3])
|
130
|
+
expect(commands[4]).to match(expected_commands[4])
|
131
|
+
expect(commands[5]).to match(expected_commands[5])
|
132
|
+
expect(commands[6]).to match(expected_commands[6])
|
133
|
+
expect(commands[7]).to match(expected_commands[7])
|
122
134
|
end
|
123
135
|
end
|
124
136
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanagon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docopt
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.2.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.2.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: lock_manager
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,8 +157,6 @@ files:
|
|
157
157
|
- lib/vanagon/platform/defaults/debian-11-amd64.rb
|
158
158
|
- lib/vanagon/platform/defaults/debian-8-amd64.rb
|
159
159
|
- lib/vanagon/platform/defaults/debian-8-i386.rb
|
160
|
-
- lib/vanagon/platform/defaults/debian-9-amd64.rb
|
161
|
-
- lib/vanagon/platform/defaults/debian-9-i386.rb
|
162
160
|
- lib/vanagon/platform/defaults/el-6-i386.rb
|
163
161
|
- lib/vanagon/platform/defaults/el-6-x86_64.rb
|
164
162
|
- lib/vanagon/platform/defaults/el-7-aarch64.rb
|
@@ -167,8 +165,6 @@ files:
|
|
167
165
|
- lib/vanagon/platform/defaults/el-8-x86_64.rb
|
168
166
|
- lib/vanagon/platform/defaults/el-9-aarch64.rb
|
169
167
|
- lib/vanagon/platform/defaults/el-9-x86_64.rb
|
170
|
-
- lib/vanagon/platform/defaults/fedora-32-x86_64.rb
|
171
|
-
- lib/vanagon/platform/defaults/fedora-34-x86_64.rb
|
172
168
|
- lib/vanagon/platform/defaults/fedora-36-x86_64.rb
|
173
169
|
- lib/vanagon/platform/defaults/osx-10.15-x86_64.rb
|
174
170
|
- lib/vanagon/platform/defaults/osx-11-x86_64.rb
|
@@ -179,8 +175,6 @@ files:
|
|
179
175
|
- lib/vanagon/platform/defaults/sles-15-x86_64.rb
|
180
176
|
- lib/vanagon/platform/defaults/solaris-11-i386.rb
|
181
177
|
- lib/vanagon/platform/defaults/solaris-11-sparc.rb
|
182
|
-
- lib/vanagon/platform/defaults/ubuntu-16.04-amd64.rb
|
183
|
-
- lib/vanagon/platform/defaults/ubuntu-16.04-i386.rb
|
184
178
|
- lib/vanagon/platform/defaults/ubuntu-18.04-aarch64.rb
|
185
179
|
- lib/vanagon/platform/defaults/ubuntu-18.04-amd64.rb
|
186
180
|
- lib/vanagon/platform/defaults/ubuntu-20.04-aarch64.rb
|
@@ -333,42 +327,42 @@ signing_key:
|
|
333
327
|
specification_version: 3
|
334
328
|
summary: All of your packages will fit into this van with this one simple trick.
|
335
329
|
test_files:
|
336
|
-
- spec/lib/vanagon/extensions/set/json_spec.rb
|
337
|
-
- spec/lib/vanagon/extensions/ostruct/json_spec.rb
|
338
|
-
- spec/lib/vanagon/extensions/string_spec.rb
|
339
|
-
- spec/lib/vanagon/common/pathname_spec.rb
|
340
|
-
- spec/lib/vanagon/common/user_spec.rb
|
341
330
|
- spec/lib/vanagon/platform_spec.rb
|
331
|
+
- spec/lib/vanagon/platform/solaris_11_spec.rb
|
332
|
+
- spec/lib/vanagon/platform/solaris_10_spec.rb
|
333
|
+
- spec/lib/vanagon/platform/osx_spec.rb
|
334
|
+
- spec/lib/vanagon/platform/rpm/aix_spec.rb
|
335
|
+
- spec/lib/vanagon/platform/rpm_spec.rb
|
336
|
+
- spec/lib/vanagon/platform/windows_spec.rb
|
337
|
+
- spec/lib/vanagon/platform/dsl_spec.rb
|
338
|
+
- spec/lib/vanagon/platform/deb_spec.rb
|
339
|
+
- spec/lib/vanagon/utilities_spec.rb
|
342
340
|
- spec/lib/vanagon/cli_spec.rb
|
343
|
-
- spec/lib/vanagon/engine/pooler_spec.rb
|
344
341
|
- spec/lib/vanagon/engine/docker_spec.rb
|
345
|
-
- spec/lib/vanagon/engine/local_spec.rb
|
346
|
-
- spec/lib/vanagon/engine/always_be_scheduling_spec.rb
|
347
342
|
- spec/lib/vanagon/engine/base_spec.rb
|
348
343
|
- spec/lib/vanagon/engine/ec2_spec.rb
|
344
|
+
- spec/lib/vanagon/engine/always_be_scheduling_spec.rb
|
345
|
+
- spec/lib/vanagon/engine/pooler_spec.rb
|
346
|
+
- spec/lib/vanagon/engine/local_spec.rb
|
349
347
|
- spec/lib/vanagon/engine/hardware_spec.rb
|
350
348
|
- spec/lib/vanagon/project_spec.rb
|
351
|
-
- spec/lib/vanagon/
|
349
|
+
- spec/lib/vanagon/component_spec.rb
|
350
|
+
- spec/lib/vanagon/environment_spec.rb
|
352
351
|
- spec/lib/vanagon/driver_spec.rb
|
352
|
+
- spec/lib/vanagon/extensions/ostruct/json_spec.rb
|
353
|
+
- spec/lib/vanagon/extensions/set/json_spec.rb
|
354
|
+
- spec/lib/vanagon/extensions/string_spec.rb
|
355
|
+
- spec/lib/vanagon/common/pathname_spec.rb
|
356
|
+
- spec/lib/vanagon/common/user_spec.rb
|
357
|
+
- spec/lib/vanagon/project/dsl_spec.rb
|
353
358
|
- spec/lib/vanagon/component/rules_spec.rb
|
354
359
|
- spec/lib/vanagon/component/source_spec.rb
|
355
360
|
- spec/lib/vanagon/component/source/rewrite_spec.rb
|
356
|
-
- spec/lib/vanagon/component/source/local_spec.rb
|
357
|
-
- spec/lib/vanagon/component/source/http_spec.rb
|
358
361
|
- spec/lib/vanagon/component/source/git_spec.rb
|
362
|
+
- spec/lib/vanagon/component/source/http_spec.rb
|
363
|
+
- spec/lib/vanagon/component/source/local_spec.rb
|
359
364
|
- spec/lib/vanagon/component/dsl_spec.rb
|
360
|
-
- spec/lib/vanagon/project/dsl_spec.rb
|
361
365
|
- spec/lib/vanagon/utilities/extra_files_signer_spec.rb
|
362
366
|
- spec/lib/vanagon/utilities/shell_utilities_spec.rb
|
363
|
-
- spec/lib/vanagon/platform/solaris_11_spec.rb
|
364
|
-
- spec/lib/vanagon/platform/solaris_10_spec.rb
|
365
|
-
- spec/lib/vanagon/platform/osx_spec.rb
|
366
|
-
- spec/lib/vanagon/platform/windows_spec.rb
|
367
|
-
- spec/lib/vanagon/platform/deb_spec.rb
|
368
|
-
- spec/lib/vanagon/platform/rpm_spec.rb
|
369
|
-
- spec/lib/vanagon/platform/rpm/aix_spec.rb
|
370
|
-
- spec/lib/vanagon/platform/dsl_spec.rb
|
371
|
-
- spec/lib/vanagon/environment_spec.rb
|
372
|
-
- spec/lib/vanagon/component_spec.rb
|
373
|
-
- spec/lib/git/rev_list_spec.rb
|
374
367
|
- spec/lib/makefile_spec.rb
|
368
|
+
- spec/lib/git/rev_list_spec.rb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
platform "debian-9-amd64" do |plat|
|
2
|
-
plat.servicedir "/lib/systemd/system"
|
3
|
-
plat.defaultdir "/etc/default"
|
4
|
-
plat.servicetype "systemd"
|
5
|
-
plat.codename "stretch"
|
6
|
-
|
7
|
-
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/debian/pl-build-tools-release-#{plat.get_codename}.deb"
|
8
|
-
packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot)
|
9
|
-
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
|
10
|
-
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
|
11
|
-
plat.vmpooler_template "debian-9-x86_64"
|
12
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
platform "debian-9-i386" do |plat|
|
2
|
-
plat.servicedir "/lib/systemd/system"
|
3
|
-
plat.defaultdir "/etc/default"
|
4
|
-
plat.servicetype "systemd"
|
5
|
-
plat.codename "stretch"
|
6
|
-
|
7
|
-
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/debian/pl-build-tools-release-#{plat.get_codename}.deb"
|
8
|
-
packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot)
|
9
|
-
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
|
10
|
-
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
|
11
|
-
plat.vmpooler_template "debian-9-i386"
|
12
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
platform "fedora-32-x86_64" do |plat|
|
2
|
-
plat.servicedir "/usr/lib/systemd/system"
|
3
|
-
plat.defaultdir "/etc/sysconfig"
|
4
|
-
plat.servicetype "systemd"
|
5
|
-
plat.dist "fc32"
|
6
|
-
|
7
|
-
packages = %w(autoconf automake rsync gcc gcc-c++ make rpmdevtools cmake)
|
8
|
-
plat.provision_with "/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}"
|
9
|
-
plat.install_build_dependencies_with "/usr/bin/dnf install -y --best --allowerasing"
|
10
|
-
plat.vmpooler_template "fedora-32-x86_64"
|
11
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
platform 'fedora-34-x86_64' do |plat|
|
2
|
-
plat.servicedir '/usr/lib/systemd/system'
|
3
|
-
plat.defaultdir '/etc/sysconfig'
|
4
|
-
plat.servicetype 'systemd'
|
5
|
-
plat.dist 'fc34'
|
6
|
-
|
7
|
-
packages = %w[
|
8
|
-
autoconf automake bzip2-devel gcc gcc-c++ libselinux-devel
|
9
|
-
libsepol libsepol-devel make cmake pkgconfig readline-devel
|
10
|
-
rpmdevtools rsync swig zlib-devel systemtap-sdt-devel
|
11
|
-
perl-lib perl-FindBin
|
12
|
-
]
|
13
|
-
plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}")
|
14
|
-
|
15
|
-
plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing'
|
16
|
-
plat.vmpooler_template 'fedora-34-x86_64'
|
17
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
platform "ubuntu-16.04-amd64" do |plat|
|
2
|
-
plat.servicedir "/lib/systemd/system"
|
3
|
-
plat.defaultdir "/etc/default"
|
4
|
-
plat.servicetype "systemd"
|
5
|
-
plat.codename "xenial"
|
6
|
-
|
7
|
-
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/debian/pl-build-tools-release-#{plat.get_codename}.deb"
|
8
|
-
packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot)
|
9
|
-
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
|
10
|
-
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
|
11
|
-
plat.vmpooler_template "ubuntu-1604-x86_64"
|
12
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
platform "ubuntu-16.04-i386" do |plat|
|
2
|
-
plat.servicedir "/lib/systemd/system"
|
3
|
-
plat.defaultdir "/etc/default"
|
4
|
-
plat.servicetype "systemd"
|
5
|
-
plat.codename "xenial"
|
6
|
-
|
7
|
-
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/debian/pl-build-tools-release-#{plat.get_codename}.deb"
|
8
|
-
packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot)
|
9
|
-
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
|
10
|
-
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
|
11
|
-
plat.vmpooler_template "ubuntu-1604-i386"
|
12
|
-
end
|