From 96eaba985211b9c6342f532fd68613981b59d712 Mon Sep 17 00:00:00 2001 From: Jeffrey Clark Date: Wed, 10 Jan 2024 20:01:22 -0600 Subject: [PATCH] (VANAGON-239) add ubuntu 24.04 x86_64 platform definition --- CHANGELOG.md | 1 + lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 596d1405..98c5a791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com). ### Added - (VANAGON-228) Add Fedora-38 (Intel) platform definition to vanagon - (RE-16102) Add Redhat-9 FIPS platform definition to vanagon +- (VANAGON-239) Add Ubuntu 24.04 (x86_64) platform definition ## [0.44.0] - 2023-11-30 ### Added diff --git a/lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb b/lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb new file mode 100644 index 00000000..8f4acad4 --- /dev/null +++ b/lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb @@ -0,0 +1,12 @@ +platform "ubuntu-24.04-amd64" do |plat| + plat.servicedir "/lib/systemd/system" + plat.defaultdir "/etc/default" + plat.servicetype "systemd" + plat.codename "noble" + + packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake curl) + plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}" + plat.provision_with "curl https://apt.puppet.com/DEB-GPG-KEY-puppet-20250406 | apt-key add -" + plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends " + plat.vmpooler_template "ubuntu-2404-x86_64" +end