Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
592B

  1. saltstack-apt-key:
  2. file.managed:
  3. - name: /etc/apt/trusted.gpg.d/saltstack.gpg
  4. - source: salt://salt/pkgrepo/debian/saltstack.gpg
  5. - user: root
  6. - group: root
  7. - mode: 644
  8. saltstack-pkgrepo:
  9. file.managed:
  10. - name: /etc/apt/sources.list.d/saltstack.list
  11. - source: salt://salt/pkgrepo/debian/sources.list
  12. - user: root
  13. - group: root
  14. - mode: 644
  15. - template: jinja
  16. - require:
  17. - file: saltstack-apt-key
  18. # Order: 1 because we can't put a require_in on "pkg: salt-{master,minion}"
  19. # because we don't know if they are used.
  20. - order: 1