diff --git a/openssh/known_hosts.sls b/openssh/known_hosts.sls index 9541e55..cb12a42 100644 --- a/openssh/known_hosts.sls +++ b/openssh/known_hosts.sls @@ -11,7 +11,7 @@ manage ssh_known_hosts file: - source: salt://openssh/files/ssh_known_hosts - template: jinja - user: root - - group: {{ openssh.root_group }} + - group: {{ openssh.ssh_config_group }} - mode: 644 - require: - pkg: ensure dig is available diff --git a/openssh/map.jinja b/openssh/map.jinja index 938b498..efe8daf 100644 --- a/openssh/map.jinja +++ b/openssh/map.jinja @@ -20,11 +20,13 @@ that differ from whats in defaults.yaml 'FreeBSD': { 'service': 'sshd', 'dig_pkg': 'bind-tools', - 'root_group': 'wheel', + 'sshd_config_group': 'wheel', + 'ssh_config_group': 'wheel', }, 'OpenBSD': { 'service': 'sshd', - 'root_group': 'wheel', + 'sshd_config_group': 'wheel', + 'ssh_config_group': 'wheel', }, 'Gentoo': { 'server': 'net-misc/openssh',