Эх сурвалжийг харах

fix(genie): Use the new repositories cookbook

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 жил өмнө
parent
commit
171e170666

+ 2 - 18
cookbooks/workstation/recipes/_genie.rb

@@ -1,25 +1,9 @@
 #
 # Cookbook:: workstation
-# Recipe:: _podman
+# Recipe:: _genie
 #
 # Copyright:: 2022, The Authors, All Rights Reserved.
 
-package 'lsb-release'
-
-key_path = '/etc/apt/trusted.gpg.d'
-gpg_key = ::File.join(key_path, 'wsl-transdebian.gpg')
-remote_file gpg_key do
-  source 'https://arkane-systems.github.io/wsl-transdebian/apt/wsl-transdebian.gpg'
-  action :create_if_missing
-end
-
-apt_repository 'wsl_transdebian' do
-  arch 'amd64'
-  uri 'https://arkane-systems.github.io/wsl-transdebian/apt/'
-  distribution lazy { Mixlib::ShellOut.new('lsb_release -cs').run_command.stdout.chomp }
-  components ['main']
-  deb_src true
-  action :add
-end
+include_recipe 'apt_repositories::_genie'
 
 package 'systemd-genie'