Bläddra i källkod

fix(podman): Fix the 'podman' cookbook invocation

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 år sedan
förälder
incheckning
401a4bf1d2

+ 1 - 1
cookbooks/gateway/recipes/default.rb

@@ -15,7 +15,7 @@ end
 include_recipe 'apt_repositories::_official'
 
 # Setup podman
-include_recipe 'apt_repositories::_podman'
+include_recipe 'podman'
 
 # Setup 'git'
 include_recipe 'gateway::_git'

+ 0 - 26
cookbooks/podman/recipes/_repository

@@ -1,26 +0,0 @@
-#
-# Cookbook:: workstation
-# Recipe:: _podman
-#
-# Copyright:: 2022, The Authors, All Rights Reserved.
-
-
-remote_file ::File.join(Chef::Config['file_cache_path'], 'devel_kubic_libcontainer_stable.key') do
-  source 'https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_Unstable/Release.key'
-  action :delete
-end
-
-key_path = '/etc/apt/trusted.gpg.d'
-key_stable = ::File.join(key_path, 'devel_kubic_libcontainers_stable.gpg')
-
-file key_stable do
-  action :delete
-end
-
-apt_repository 'devel_kubic_libcontainer_stable' do
-  arch 'amd64'
-  uri 'http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_11/'
-  distribution '/'
-  deb_src true
-  action :delete
-end

+ 1 - 1
cookbooks/workstation/recipes/_podman.rb

@@ -4,7 +4,7 @@
 #
 # Copyright:: 2022, The Authors, All Rights Reserved.
 
-include_recipe 'podamn::default'
+include_recipe 'podman'
 
 # TODO: use gem 'inifile' instead of this
 file '/etc/containers/containers.conf.d/99wsl2.conf' do