default.rb 612 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Cookbook:: gateway
  3. # Recipe:: default
  4. #
  5. # Copyright:: 2022, The Authors, All Rights Reserved.
  6. # Enable json file reports
  7. chef_handler 'Chef::Handler::JsonFile' do
  8. source 'chef/handler/json_file'
  9. arguments path: '/var/chef/reports'
  10. action :enable
  11. end
  12. # Configure repo
  13. include_recipe 'apt_repositories::_official'
  14. # Setup podman
  15. include_recipe 'podman'
  16. # Setup 'git'
  17. include_recipe 'gateway::_git'
  18. # Add defaut packages
  19. include_recipe 'gateway::_packages'
  20. # END: Setup etckeeper
  21. include_recipe 'etckeeper'
  22. include_recipe 'etckeeper::commit'
  23. # Patching /etc
  24. include_recipe 'gateway::_system_patch'