Browse Source

Set correct ssh(d)_config_group for *BSD

master
Alexander Weidinger 7 years ago
parent
commit
66c954ed66
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      openssh/known_hosts.sls
  2. +4
    -2
      openssh/map.jinja

+ 1
- 1
openssh/known_hosts.sls View File

- 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

+ 4
- 2
openssh/map.jinja View File

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

Loading…
Cancel
Save