vanagon 0.43.0 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db6bbca78a910b41075dc50bccc92e3088ffc4a076b58543feff84ec809b59dc
4
- data.tar.gz: ada82f3362eaab0c8ee9b5248c3f3e17d1660276ed9c6328a1a9d38a9575fe38
3
+ metadata.gz: 1c546f8edcbbaea0e769f628853a335eb9bb803dd15878d32ea1c53c0f12332d
4
+ data.tar.gz: fcef0a81a70177ec1e9b0050ca2a200f2f7c7d17e79dfc1b767c603131984b6d
5
5
  SHA512:
6
- metadata.gz: 5271dfd756bf4ca321b56124402d81e0ab235aca51554b278b770a9942a0a251307141f58b6d0f7ea92fa969c72b4f21e67f5e353dcdfb2eab0fb22b5d9f50fd
7
- data.tar.gz: 30ff287725847bb4949d3f782724163169e2f3e42eb3de04c6ff42ca1260c11f728b2073d7e1dda9b8c91109b8af1bb50a46b6c7ffd254e21f7557e4f805e02c
6
+ metadata.gz: 33aba6ddd2ea2b085576b9fd874be05ea88f85c53a3dba409863e788b0693592f842aca61181b935d32f97ec29ebda558b3c01ac753bef607a9a8a657d842686
7
+ data.tar.gz: 5c3e43f7185de14b638f50f5abeda4fffaaf3b626ebd40e6c767f3d0fa80a9fb33f6d74bf0b45644c89a072c60d81a56f75d5e0a32fe5249d8ac9c93c6f810bf
@@ -0,0 +1,11 @@
1
+ platform "debian-12-aarch64" do |plat|
2
+ plat.servicedir "/lib/systemd/system"
3
+ plat.defaultdir "/etc/default"
4
+ plat.servicetype "systemd"
5
+ plat.codename "bookworm"
6
+
7
+ packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake)
8
+ plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
9
+ plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
10
+ plat.vmpooler_template "debian-12-arm64"
11
+ end
@@ -0,0 +1,11 @@
1
+ platform "debian-12-amd64" do |plat|
2
+ plat.servicedir "/lib/systemd/system"
3
+ plat.defaultdir "/etc/default"
4
+ plat.servicetype "systemd"
5
+ plat.codename "bookworm"
6
+
7
+ packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake)
8
+ plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
9
+ plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
10
+ plat.vmpooler_template "debian-12-x86_64"
11
+ end
@@ -0,0 +1,17 @@
1
+ platform 'fedora-38-x86_64' do |plat|
2
+ plat.servicedir '/usr/lib/systemd/system'
3
+ plat.defaultdir '/etc/sysconfig'
4
+ plat.servicetype 'systemd'
5
+ plat.dist 'fc38'
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-38-x86_64'
17
+ end
@@ -0,0 +1,24 @@
1
+ platform 'osx-14-arm64' do |plat|
2
+ plat.brew '/opt/homebrew/bin/brew'
3
+ plat.servicetype 'launchd'
4
+ plat.servicedir '/Library/LaunchDaemons'
5
+ plat.codename 'sonoma'
6
+
7
+ plat.provision_with 'export HOMEBREW_NO_EMOJI=true'
8
+ plat.provision_with 'export HOMEBREW_VERBOSE=true'
9
+ plat.provision_with "export HOMEBREW_NO_ANALYTICS=1"
10
+
11
+ plat.provision_with 'sudo dscl . -create /Users/test'
12
+ plat.provision_with 'sudo dscl . -create /Users/test UserShell /bin/bash'
13
+ plat.provision_with 'sudo dscl . -create /Users/test UniqueID 1001'
14
+ plat.provision_with 'sudo dscl . -create /Users/test PrimaryGroupID 1000'
15
+ plat.provision_with 'sudo dscl . -create /Users/test NFSHomeDirectory /Users/test'
16
+ plat.provision_with 'sudo dscl . -passwd /Users/test password'
17
+ plat.provision_with 'sudo dscl . -merge /Groups/admin GroupMembership test'
18
+ plat.provision_with 'echo "test ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/username'
19
+ plat.provision_with 'mkdir -p /etc/homebrew'
20
+ plat.provision_with 'cd /etc/homebrew'
21
+ plat.provision_with 'createhomedir -c -u test'
22
+ plat.provision_with 'su test -c \'echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\''
23
+ plat.vmpooler_template 'macos-14-arm64'
24
+ end
@@ -0,0 +1,23 @@
1
+ platform "osx-14-x86_64" do |plat|
2
+ plat.servicetype "launchd"
3
+ plat.servicedir "/Library/LaunchDaemons"
4
+ plat.codename "sonoma"
5
+
6
+ plat.provision_with "export HOMEBREW_NO_EMOJI=true"
7
+ plat.provision_with "export HOMEBREW_VERBOSE=true"
8
+ plat.provision_with "export HOMEBREW_NO_ANALYTICS=1"
9
+
10
+ plat.provision_with "sudo dscl . -create /Users/test"
11
+ plat.provision_with "sudo dscl . -create /Users/test UserShell /bin/bash"
12
+ plat.provision_with "sudo dscl . -create /Users/test UniqueID 1001"
13
+ plat.provision_with "sudo dscl . -create /Users/test PrimaryGroupID 1000"
14
+ plat.provision_with "sudo dscl . -create /Users/test NFSHomeDirectory /Users/test"
15
+ plat.provision_with "sudo dscl . -passwd /Users/test password"
16
+ plat.provision_with "sudo dscl . -merge /Groups/admin GroupMembership test"
17
+ plat.provision_with "echo 'test ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/username"
18
+ plat.provision_with "mkdir -p /etc/homebrew"
19
+ plat.provision_with "cd /etc/homebrew"
20
+ plat.provision_with "createhomedir -c -u test"
21
+ plat.provision_with %Q(su test -c 'echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"')
22
+ plat.vmpooler_template "macos-14-x86_64"
23
+ end
@@ -0,0 +1,30 @@
1
+ platform "redhatfips-9-x86_64" do |plat|
2
+ plat.servicedir "/usr/lib/systemd/system"
3
+ plat.defaultdir "/etc/sysconfig"
4
+ plat.servicetype "systemd"
5
+
6
+ packages = %w(
7
+ autoconf
8
+ automake
9
+ cmake
10
+ gcc-c++
11
+ java-1.8.0-openjdk-devel
12
+ libarchive
13
+ libsepol-devel
14
+ libselinux-devel
15
+ openssl-devel
16
+ pkgconfig
17
+ readline-devel
18
+ rpmdevtools
19
+ rpm-build
20
+ rsync
21
+ swig
22
+ systemtap-sdt-devel
23
+ yum-utils
24
+ zlib-devel
25
+ )
26
+
27
+ plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
28
+ plat.install_build_dependencies_with "dnf install -y --allowerasing "
29
+ plat.vmpooler_template "redhat-fips-9-x86_64"
30
+ end
@@ -0,0 +1,12 @@
1
+ platform "ubuntu-24.04-amd64" do |plat|
2
+ plat.servicedir "/lib/systemd/system"
3
+ plat.defaultdir "/etc/default"
4
+ plat.servicetype "systemd"
5
+ plat.codename "noble"
6
+
7
+ packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake curl)
8
+ plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
9
+ plat.provision_with "curl https://apt.puppet.com/DEB-GPG-KEY-puppet-20250406 | apt-key add -"
10
+ plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
11
+ plat.vmpooler_template "ubuntu-2404-x86_64"
12
+ end
@@ -474,7 +474,7 @@ class Vanagon
474
474
  #
475
475
  # @return [true, false] true if it is a linux variety, false otherwise
476
476
  def is_linux?
477
- return (!is_windows? && !is_unix?)
477
+ !is_windows? && !is_unix?
478
478
  end
479
479
 
480
480
  # Utility matcher to determine if the platform is a cross-compiled variety
@@ -490,7 +490,7 @@ class Vanagon
490
490
  #
491
491
  # @return [true, false] true if it is a cross-compiled Linux variety, false otherwise
492
492
  def is_cross_compiled_linux?
493
- return (is_cross_compiled? && is_linux?)
493
+ is_cross_compiled? && is_linux?
494
494
  end
495
495
 
496
496
  # Pass in a packaging override. This needs to be implemented for each
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.43.0
4
+ version: 0.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet By Perforce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-20 00:00:00.000000000 Z
11
+ date: 2024-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -175,6 +175,8 @@ files:
175
175
  - lib/vanagon/platform/defaults/debian-10-amd64.rb
176
176
  - lib/vanagon/platform/defaults/debian-11-aarch64.rb
177
177
  - lib/vanagon/platform/defaults/debian-11-amd64.rb
178
+ - lib/vanagon/platform/defaults/debian-12-aarch64.rb
179
+ - lib/vanagon/platform/defaults/debian-12-amd64.rb
178
180
  - lib/vanagon/platform/defaults/debian-8-amd64.rb
179
181
  - lib/vanagon/platform/defaults/debian-8-i386.rb
180
182
  - lib/vanagon/platform/defaults/el-6-i386.rb
@@ -186,14 +188,18 @@ files:
186
188
  - lib/vanagon/platform/defaults/el-9-aarch64.rb
187
189
  - lib/vanagon/platform/defaults/el-9-x86_64.rb
188
190
  - lib/vanagon/platform/defaults/fedora-36-x86_64.rb
191
+ - lib/vanagon/platform/defaults/fedora-38-x86_64.rb
189
192
  - lib/vanagon/platform/defaults/osx-11-arm64.rb
190
193
  - lib/vanagon/platform/defaults/osx-11-x86_64.rb
191
194
  - lib/vanagon/platform/defaults/osx-12-arm64.rb
192
195
  - lib/vanagon/platform/defaults/osx-12-x86_64.rb
193
196
  - lib/vanagon/platform/defaults/osx-13-arm64.rb
194
197
  - lib/vanagon/platform/defaults/osx-13-x86_64.rb
198
+ - lib/vanagon/platform/defaults/osx-14-arm64.rb
199
+ - lib/vanagon/platform/defaults/osx-14-x86_64.rb
195
200
  - lib/vanagon/platform/defaults/redhatfips-7-x86_64.rb
196
201
  - lib/vanagon/platform/defaults/redhatfips-8-x86_64.rb
202
+ - lib/vanagon/platform/defaults/redhatfips-9-x86_64.rb
197
203
  - lib/vanagon/platform/defaults/sles-12-x86_64.rb
198
204
  - lib/vanagon/platform/defaults/sles-15-x86_64.rb
199
205
  - lib/vanagon/platform/defaults/solaris-11-i386.rb
@@ -204,6 +210,7 @@ files:
204
210
  - lib/vanagon/platform/defaults/ubuntu-20.04-amd64.rb
205
211
  - lib/vanagon/platform/defaults/ubuntu-22.04-aarch64.rb
206
212
  - lib/vanagon/platform/defaults/ubuntu-22.04-amd64.rb
213
+ - lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb
207
214
  - lib/vanagon/platform/dsl.rb
208
215
  - lib/vanagon/platform/osx.rb
209
216
  - lib/vanagon/platform/rpm.rb