Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415
  1. {%- from "linux/map.jinja" import system with context %}
  2. {%- if system.enabled %}
  3. {%- if system.rc.local is defined %}
  4. /etc/rc.local:
  5. file.managed:
  6. - user: root
  7. - group: root
  8. - mode: 755
  9. - contents_pillar: linux:system:rc:local
  10. {%- endif %}
  11. {%- endif %}