Saltstack Official Apt Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

listchanges_config.jinja 980B

123456789101112131415161718192021222324252627282930
  1. {%- set apt = pillar.get('apt', {}) -%}
  2. {%- set listchanges = apt.get('listchanges', {}) -%}
  3. {%- for profile_name, profile_details in listchanges.get('profiles', {}).items() -%}
  4. {%- set frontend = profile_details.get('frontend', None) -%}
  5. {%- set email_address = profile_details.get('email_address', None) -%}
  6. {%- set confirm = profile_details.get('confirm', None) -%}
  7. {%- set save_seen = profile_details.get('save_seen', None) -%}
  8. {%- set which = profile_details.get('which', None) -%}
  9. {%- set browser = profile_details.get('browser', None) -%}
  10. [{{ profile_name }}]
  11. {%- if frontend != None %}
  12. frontend={{ frontend }}
  13. {%- endif %}
  14. {%- if email_address != None %}
  15. email_address={{ email_address }}
  16. {%- endif %}
  17. {%- if confirm != None %}
  18. confirm={{ confirm }}
  19. {%- endif %}
  20. {%- if save_seen != None %}
  21. save_seen={{ save_seen }}
  22. {%- endif %}
  23. {%- if which != None %}
  24. which={{ which }}
  25. {%- endif %}
  26. {%- if browser != None %}
  27. browser={{ browser }}
  28. {% endif %}
  29. {% endfor %}