init.sls 448 B

123456789101112131415161718192021
  1. #
  2. # Install and configure console-tools to disable scree blanking
  3. #
  4. {% if grains['oscodename'] == 'wheezy' %}
  5. console-tools:
  6. pkg.installed:
  7. - name: console-tools
  8. /etc/console-tools/config:
  9. file.managed:
  10. - source: salt://console-tools/config
  11. - require:
  12. - pkg: console-tools
  13. {%- endif %}
  14. {% if grains['oscodename'] == 'jessie' %}
  15. /etc/issue:
  16. file.managed:
  17. - source: salt://console-tools/issue.Debian.jessie
  18. {% endif %}