Selaa lähdekoodia

Fix(etckeeper): Clean up the 'etckeeper' part

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 3 vuotta sitten
vanhempi
commit
771a11d8ab

+ 1 - 0
cookbooks/workstation/metadata.rb

@@ -11,6 +11,7 @@ chef_version '>= 16.0'
 # uploaded to a Supermarket.
 #
 # issues_url 'https://github.com/<insert_org_here>/workstation/issues'
+depends 'etckeeper'
 
 # The `source_url` points to the development repository for this cookbook.  A
 # `View Source` link will be displayed on this cookbook's page when uploaded to

+ 0 - 7
cookbooks/workstation/recipes/_etckeeper.rb

@@ -1,7 +0,0 @@
-#
-# Cookbook:: workstation
-# Recipe:: default
-#
-# Copyright:: 2022, The Authors, All Rights Reserved.
-
-package 'etckeeper'

+ 4 - 1
cookbooks/workstation/recipes/default.rb

@@ -4,5 +4,8 @@
 #
 # Copyright:: 2022, The Authors, All Rights Reserved.
 
-include_recipe 'workstation::_etckeeper'
 include_recipe 'workstation::_podman'
+
+# Setup etckeeper
+include_recipe 'etckeeper'
+include_recipe 'etckeeper::commit'