- source: salt://openssh/files/ssh_known_hosts | - source: salt://openssh/files/ssh_known_hosts | ||||
- template: jinja | - template: jinja | ||||
- user: root | - user: root | ||||
- group: {{ openssh.root_group }} | |||||
- group: {{ openssh.ssh_config_group }} | |||||
- mode: 644 | - mode: 644 | ||||
- require: | - require: | ||||
- pkg: ensure dig is available | - pkg: ensure dig is available |
'FreeBSD': { | 'FreeBSD': { | ||||
'service': 'sshd', | 'service': 'sshd', | ||||
'dig_pkg': 'bind-tools', | 'dig_pkg': 'bind-tools', | ||||
'root_group': 'wheel', | |||||
'sshd_config_group': 'wheel', | |||||
'ssh_config_group': 'wheel', | |||||
}, | }, | ||||
'OpenBSD': { | 'OpenBSD': { | ||||
'service': 'sshd', | 'service': 'sshd', | ||||
'root_group': 'wheel', | |||||
'sshd_config_group': 'wheel', | |||||
'ssh_config_group': 'wheel', | |||||
}, | }, | ||||
'Gentoo': { | 'Gentoo': { | ||||
'server': 'net-misc/openssh', | 'server': 'net-misc/openssh', |