vanagon 0.39.3 → 0.41.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: 1ed8da3751c29acb70fea9bff9eb49263409066fe80d8b2d44554988768f02d7
4
- data.tar.gz: a5f496b8508eee638db7cb797ae824f1b4beb5b046c67bba9efbd8f30de5faf7
3
+ metadata.gz: dbfdc34ac75b70c6f96c6f767426d61ed0140be4e7e0fbee6cf9cf255f6b1c4b
4
+ data.tar.gz: 51109a1e790290e27d1b03674601f3209fc17df1431f860768b15b88534bc5aa
5
5
  SHA512:
6
- metadata.gz: f3ad3013534e4f40bcc5972efac9397477ab3e636e391e669215d44b06130a7d8a379b6cc67c95127081e1c3b58167744f4db6a943d35ea0160312a875dc43b5
7
- data.tar.gz: faecaa5fe8ec3dc0e8174f766bb0849f94ca8b3b35f70cb19faea91985365bda45da16820b3aadb27dcf0a101bec39f8b46075e6b65547b18cb1c0ddd45224e8
6
+ metadata.gz: 9166d82bf7623a2423ac6bd10becdc2c0bd1dd98808abf098b91c2818f7742152d8109fc778155646c36cb4295cab960fa60ae74d1e53ca1748cf4e9b049fac1
7
+ data.tar.gz: 63175335e9f35857aebd80da28d7777d40b13050136b62290acc54217b71dfbf3deb03f03d6c6af2bf6eb8ebc15d22ae64bef89e3f94425506c0e64f485d6838
@@ -0,0 +1,10 @@
1
+ platform "amazon-2023-aarch64" do |plat|
2
+ plat.servicedir "/usr/lib/systemd/system"
3
+ plat.defaultdir "/etc/sysconfig"
4
+ plat.servicetype "systemd"
5
+
6
+ packages = %w(autoconf automake createrepo gcc gcc-c++ rsync cmake make rpm-libs rpm-build libarchive)
7
+ plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
8
+ plat.install_build_dependencies_with "dnf install -y --allowerasing "
9
+ plat.vmpooler_template "amazon-2023-arm64"
10
+ end
@@ -0,0 +1,10 @@
1
+ platform "amazon-2023-x86_64" do |plat|
2
+ plat.servicedir "/usr/lib/systemd/system"
3
+ plat.defaultdir "/etc/sysconfig"
4
+ plat.servicetype "systemd"
5
+
6
+ packages = %w(gcc gcc-c++ autoconf automake createrepo rsync cmake make rpm-libs rpm-build rpm-sign libtool libarchive)
7
+ plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
8
+ plat.install_build_dependencies_with "dnf install -y --allowerasing "
9
+ plat.vmpooler_template "amazon-2023-x86_64"
10
+ end
@@ -38,7 +38,7 @@ class Vanagon
38
38
  @platform = case platform_name
39
39
  when /^aix-/
40
40
  Vanagon::Platform::RPM::AIX.new(@name)
41
- when /^(cisco-wrlinux|el|fedora|redhat|redhatfips)-/
41
+ when /^(amazon|cisco-wrlinux|el|fedora|redhat|redhatfips)-/
42
42
  Vanagon::Platform::RPM.new(@name)
43
43
  when /^sles-/
44
44
  Vanagon::Platform::RPM::SLES.new(@name)
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.39.3
4
+ version: 0.41.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-09-29 00:00:00.000000000 Z
11
+ date: 2023-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -170,6 +170,8 @@ files:
170
170
  - lib/vanagon/patch.rb
171
171
  - lib/vanagon/platform.rb
172
172
  - lib/vanagon/platform/deb.rb
173
+ - lib/vanagon/platform/defaults/amazon-2023-aarch64.rb
174
+ - lib/vanagon/platform/defaults/amazon-2023-x86_64.rb
173
175
  - lib/vanagon/platform/defaults/debian-10-amd64.rb
174
176
  - lib/vanagon/platform/defaults/debian-11-aarch64.rb
175
177
  - lib/vanagon/platform/defaults/debian-11-amd64.rb