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

20 行
582B

  1. # This is the main state file for configuring apt-listchanges
  2. {% from "apt/map.jinja" import apt as apt_map with context %}
  3. {% set apt = pillar.get('apt:listchanges', {}) -%}
  4. {% set listchanges_config_template = apt.get('listchanges_config_template', 'salt://apt/templates/listchanges_config.jinja') -%}
  5. apt_listchanges_pkgs:
  6. pkg.installed:
  7. - name: apt-listchanges
  8. /etc/apt/listchanges.conf:
  9. file.managed:
  10. - template: jinja
  11. - user: root
  12. - group: root
  13. - mode: 644
  14. - source: {{ listchanges_config_template }}
  15. - require:
  16. - pkg: apt-listchanges