Explorar o código

feat(handler): Add json report handler

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO %!s(int64=3) %!d(string=hai) anos
pai
achega
5eabd5b28b
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      cookbooks/workstation/recipes/default.rb

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

@@ -4,6 +4,13 @@
 #
 # 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'
 
 # Setup etckeeper