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

listchanges.sls 538B

1234567891011121314151617
  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 }}