浏览代码

feat(handler): Add json report handler

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 3 年之前
父节点
当前提交
5eabd5b28b
共有 1 个文件被更改,包括 7 次插入0 次删除
  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