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.

9 lines
257B

  1. {%- from "linux/map.jinja" import system with context -%}
  2. {%- for motd in system.motd -%}
  3. {%- if loop.index == index -%}
  4. {%- for name, value in motd.items() -%}
  5. {%- if name == motd_name -%}{{ value }}{%- endif %}
  6. {%- endfor -%}
  7. {%- endif -%}
  8. {%- endfor -%}