{%- from "openssh/map.jinja" import server with context -%}# This file is managed by Salt. Manual changes will be overwritten. | |
{%- for name, user in server.user.iteritems() -%} | |
{%- if user.user.name == user_name -%} | |
{%- for public_key in user.public_keys %} | |
{{ public_key.key }} | |
{%- endfor -%} | |
{%- endif -%} | |
{%- endfor -%} | |
{#- | |
vim: syntax=jinja | |
-#} |