Saltstack Official Linux 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.

12 line
282B

  1. {%- from "linux/map.jinja" import system with context %}
  2. {%- if system.enabled %}
  3. {%- if system.bash.get('preserve_history', False) %}
  4. /etc/profile.d/bash_history.sh:
  5. file.managed:
  6. - source: salt://linux/files/bash_history.sh
  7. - template: jinja
  8. {%- endif %}
  9. {%- endif %}