forked from puppetlabs/puppet-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebian-11-amd64.rb
34 lines (31 loc) · 993 Bytes
/
debian-11-amd64.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
platform "debian-11-amd64" do |plat|
# Delete the 6 lines below when a vanagon with Debian 11 support is released
plat.servicedir "/lib/systemd/system"
plat.defaultdir "/etc/default"
plat.servicetype "systemd"
plat.codename "bullseye"
plat.vmpooler_template "debian-11-x86_64"
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
# Uncomment these when a vanagon with Debian 11 support is released
# plat.inherit_from_default
# plat.clear_provisioning
packages = [
'build-essential',
'cmake',
'debhelper',
'devscripts',
'fakeroot',
'libbz2-dev',
'libreadline-dev',
'libselinux1-dev',
'make',
'openjdk-11-jdk',
'pkg-config',
'quilt',
'rsync',
'swig',
'systemtap-sdt-dev',
'zlib1g-dev'
]
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
end