mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-24 17:23:26 +02:00
Adds support to customize /etc/ssh/moduli file
This commit is contained in:
@@ -5,3 +5,4 @@ openssh:
|
||||
banner_src: salt://openssh/files/banner
|
||||
ssh_known_hosts: /etc/ssh/ssh_known_hosts
|
||||
dig_pkg: dnsutils
|
||||
ssh_moduli: /etc/ssh/moduli
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{% from "openssh/map.jinja" import openssh with context %}
|
||||
|
||||
{% if salt['pillar.get']('openssh:moduli', False) %}
|
||||
ssh_moduli:
|
||||
file.managed:
|
||||
- name: {{ openssh.ssh_moduli }}
|
||||
- contents_pillar: openssh:moduli
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user