init.sls 716 B

123456789101112131415161718192021222324252627282930313233
  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. # APT preferences
  20. /etc/apt/preferences.d/ffho:
  21. file.managed:
  22. - source: salt://apt/ffho.preferences
  23. /etc/apt/apt.conf.d/ffho:
  24. file.managed:
  25. - source: salt://apt/ffho.apt.conf