From 3dbc9457eeb0759a43787fb49c5c517d3de690a6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 22 Mar 2026 10:39:38 +0000 Subject: [PATCH] Re-enable hwraid repository --- cookbooks/apt/recipes/hwraid.rb | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/cookbooks/apt/recipes/hwraid.rb b/cookbooks/apt/recipes/hwraid.rb index 147f69265..c8d99bdef 100644 --- a/cookbooks/apt/recipes/hwraid.rb +++ b/cookbooks/apt/recipes/hwraid.rb @@ -19,21 +19,21 @@ include_recipe "apt" -# platform_name = if platform?("debian") -# "debian" -# else -# "ubuntu" -# end +platform_name = if platform?("debian") + "debian" + else + "ubuntu" + end -# distribution_name = if platform?("debian") -# "buster" -# else -# "precise" -# end +distribution_name = if platform?("debian") + "buster" + else + "precise" + end -# apt_repository "hwraid" do -# uri "https://hwraid.le-vert.net/#{platform_name}" -# distribution distribution_name -# components ["main"] -# key "https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key" -# end +apt_repository "hwraid" do + uri "https://hwraid.le-vert.net/#{platform_name}" + distribution distribution_name + components ["main"] + key "https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key" +end -- 2.39.5