init.sls 428 B

123456789101112131415161718
  1. #
  2. # Linux Kernel
  3. #
  4. linux-4.7:
  5. pkg.installed:
  6. - name: linux-image-4.7.0-0.bpo.1-amd64
  7. - fromrepo: jessie-backports
  8. {#
  9. # Install kernel headers if we might need to compile a batman_adv module on this node.
  10. #}
  11. {% if 'batman' in salt['pillar.get']('nodes:' ~ grains['id'] ~ ':roles', []) %}
  12. linux-4.7-headers:
  13. pkg.installed:
  14. - name: linux-headers-4.7.0-0.bpo.1-amd64
  15. - fromrepo: jessie-backports
  16. {% endif %}