Set correct ssh(d)_config_group for *BSD

This commit is contained in:
Alexander Weidinger 2017-03-04 14:19:52 +01:00
parent 4ec97eeb28
commit 66c954ed66
2 changed files with 5 additions and 3 deletions

View File

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

View File

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