瀏覽代碼

Fix minor bug for ssh known_hosts management with salt >= 2015.5.5.

This version complains that "argument port can not be used in
conjunction with argument hash_hostname", so add hash_hostname
to the fields we handle in the formula so we can override it
if needed.
lookup-fix-3
Heinz Wiesinger 9 年之前
父節點
當前提交
221f1ccef4
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      users/init.sls

+ 3
- 0
users/init.sls 查看文件

@@ -301,6 +301,9 @@ users_ssh_known_hosts_{{ name }}_{{ loop.index0 }}:
{% if 'enc' in host %}
- enc: {{ host['enc'] }}
{% endif -%}
{% if 'hash_hostname' in host %}
- hash_hostname: {{ host['hash_hostname'] }}
{% endif -%}
{% endfor %}
{% endif %}


Loading…
取消
儲存