Filip Pytloun | 2d3c803 | 2016-03-11 16:40:20 +0100 | [diff] [blame^] | 1 | {%- from "openssh/map.jinja" import server with context -%}# This file is managed by Salt. Manual changes will be overwritten. |
2 | {%- for name, user in server.user.iteritems() -%} | ||||
3 | {%- if user.user.name == user_name -%} | ||||
4 | {%- for public_key in user.public_keys %} | ||||
5 | {{ public_key.key }} | ||||
6 | {%- endfor -%} | ||||
7 | {%- endif -%} | ||||
8 | {%- endfor -%} | ||||
9 | |||||
10 | {#- | ||||
11 | vim: syntax=jinja | ||||
12 | -#} |