default.rb 783 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Cookbook:: workstation
  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. # First let's put handler first
  13. include_recipe 'etckeeper'
  14. include_recipe 'etckeeper::commit'
  15. # Configure repo
  16. include_recipe 'apt_repositories::_official'
  17. # User creation and directories
  18. include_recipe 'workstation::_user'
  19. # Setup podman
  20. include_recipe 'workstation::_podman'
  21. # Setup 'git'
  22. include_recipe 'workstation::_git'
  23. # Install 'systemd-genie'
  24. include_recipe 'workstation::_genie'
  25. # Add defaut packages
  26. include_recipe 'workstation::_packages'
  27. # Setup terraform
  28. include_recipe 'workstation::_terraform'