paulbsd-salt/states/users/map.jinja
2020-07-10 00:58:55 +02:00

6 lines
304 B
Django/Jinja

{%- import_yaml "users/defaults.yaml" as default_settings -%}
{%- set defaults = salt['grains.filter_by'](default_settings, default='users') -%}
{%- set users = salt['pillar.get']('users', default=defaults, merge=True) -%}
{%- set groups = salt['pillar.get']('groups', default=defaults, merge=True) -%}