6 lines
376 B
Django/Jinja
6 lines
376 B
Django/Jinja
{%- from "dokuwiki/map.jinja" import dokuwiki with context -%}
|
|
{%- from "dokuwiki/map.jinja" import users with context %}
|
|
{%- for name, user in users.items() %}
|
|
{{ name }}:{{ salt['shadow.gen_password'](password=user.password) }}:{{ user.fullname }}:{{ user.email|default("unknown@example.com") }}:{{ ([user.gid] + user.optional_groups|default([]))|join(",") }}
|
|
{% endfor -%}
|