@@ -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 |
@@ -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', |