init.sls 999 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # APT
  3. #
  4. /etc/apt/sources.list:
  5. file.managed:
  6. - source: salt://apt/sources.list.{{ grains.os }}.{{ grains.oscodename }}
  7. /etc/cron.d/apt:
  8. file.managed:
  9. - source: salt://apt/update_apt.cron
  10. # FFHO APT
  11. /etc/apt/trusted.gpg.d/ffho.gpg:
  12. file.managed:
  13. - source: salt://apt/ffho.gpg.{{ grains.os }}.{{ grains.oscodename }}
  14. /etc/apt/sources.list.d/ffho.list:
  15. file.managed:
  16. - source: salt://apt/ffho.list.{{ grains.os }}.{{ grains.oscodename }}
  17. - require:
  18. - file: /etc/apt/trusted.gpg.d/ffho.gpg
  19. # Salt APT
  20. /etc/apt/trusted.gpg.d/salt.gpg:
  21. file.managed:
  22. - source: salt://apt/salt.gpg
  23. /etc/apt/sources.list.d/salt.list:
  24. file.managed:
  25. - source: salt://apt/salt.list.{{ grains.os }}.{{ grains.oscodename }}
  26. - require:
  27. - file: /etc/apt/trusted.gpg.d/salt.gpg
  28. # APT preferences
  29. /etc/apt/preferences.d/ffho:
  30. file.managed:
  31. - source: salt://apt/ffho.preferences
  32. /etc/apt/apt.conf.d/ffho:
  33. file.managed:
  34. - source: salt://apt/ffho.apt.conf