Explorar o código

feat(apt): Move the 'lsb-release' package to specific recipe

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO %!s(int64=3) %!d(string=hai) anos
pai
achega
79129c0f44

+ 1 - 1
cookbooks/apt_repositories/recipes/_genie.rb

@@ -4,7 +4,7 @@
 #
 # Copyright:: 2022, The Authors, All Rights Reserved.
 
-package 'lsb-release'
+include_recipe 'apt_repositories::_packages'
 
 key_path = '/etc/apt/trusted.gpg.d'
 gpg_key = ::File.join(key_path, 'wsl-transdebian.gpg')

+ 9 - 0
cookbooks/apt_repositories/recipes/_packages.rb

@@ -0,0 +1,9 @@
+#
+# Cookbook:: apt_repositories
+# Recipe:: _packages
+#
+# Copyright:: 2022, The Authors, All Rights Reserved.
+
+package %w{
+  lsb-release
+}