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

feat(handler): Add json report handler

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 3 жил өмнө
parent
commit
5eabd5b28b

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

@@ -4,6 +4,13 @@
 #
 #
 # Copyright:: 2022, The Authors, All Rights Reserved.
 # Copyright:: 2022, The Authors, All Rights Reserved.
 
 
+# Enable json file reports
+chef_handler 'Chef::Handler::JsonFile' do
+  source 'chef/handler/json_file'
+  arguments path: '/var/chef/reports'
+  action :enable
+end
+
 include_recipe 'workstation::_podman'
 include_recipe 'workstation::_podman'
 
 
 # Setup etckeeper
 # Setup etckeeper