]> git.openstreetmap.org Git - chef.git/commitdiff
Do not install recommends for wireguard-tools master
authorGrant Slater <github@firefishy.com>
Sun, 4 Dec 2022 23:06:22 +0000 (23:06 +0000)
committerGrant Slater <github@firefishy.com>
Sun, 4 Dec 2022 23:07:05 +0000 (23:07 +0000)
wireguard-tools recommends causes a dependency cascade installing wireguard-dkms which
requires a compile and kernel headers. All our systems are running sufficient kernel versions
not to require wireguard-dkms. Disable recommends to speed up install for tests.

cookbooks/networking/recipes/default.rb

index 5cdaf91f635fc5bc894e454e6002407e71cfbe71..9bf8345222393787a066ed0401c9c192cf6d7d70 100644 (file)
@@ -196,6 +196,7 @@ if node[:networking][:wireguard][:enabled]
 
   package "wireguard-tools" do
     compile_time true
+    options "--no-install-recommends"
   end
 
   directory "/var/lib/systemd/wireguard" do