Browse Source

Merge pull request #30 from sys4/master

add gentoo support
master
Nitin Madhok 9 years ago
parent
commit
9940513b6c
1 changed files with 19 additions and 10 deletions
  1. +19
    -10
      openssh/map.jinja

+ 19
- 10
openssh/map.jinja View File

@@ -1,4 +1,13 @@
{% set openssh = salt['grains.filter_by']({
'Arch': {
'server': 'openssh',
'client': 'openssh',
'service': 'sshd.socket',
'sshd_config': '/etc/ssh/sshd_config',
'sshd_config_src': 'salt://openssh/files/sshd_config',
'banner': '/etc/ssh/banner',
'banner_src': 'salt://openssh/files/banner',
},
'Debian': {
'server': 'openssh-server',
'client': 'openssh-client',
@@ -8,35 +17,35 @@
'banner': '/etc/ssh/banner',
'banner_src': 'salt://openssh/files/banner',
},
'RedHat': {
'server': 'openssh-server',
'client': 'openssh',
'FreeBSD': {
'service': 'sshd',
'sshd_config': '/etc/ssh/sshd_config',
'sshd_config_src': 'salt://openssh/files/sshd_config',
'banner': '/etc/ssh/banner',
'banner_src': 'salt://openssh/files/banner',
},
'Suse': {
'server': 'openssh',
'client': 'openssh',
'Gentoo': {
'server': 'net-misc/openssh',
'client': 'net-misc/openssh',
'service': 'sshd',
'sshd_config': '/etc/ssh/sshd_config',
'sshd_config_src': 'salt://openssh/files/sshd_config',
'banner': '/etc/ssh/banner',
'banner_src': 'salt://openssh/files/banner',
},
'FreeBSD': {
},
'RedHat': {
'server': 'openssh-server',
'client': 'openssh',
'service': 'sshd',
'sshd_config': '/etc/ssh/sshd_config',
'sshd_config_src': 'salt://openssh/files/sshd_config',
'banner': '/etc/ssh/banner',
'banner_src': 'salt://openssh/files/banner',
},
'Arch': {
'Suse': {
'server': 'openssh',
'client': 'openssh',
'service': 'sshd.socket',
'service': 'sshd',
'sshd_config': '/etc/ssh/sshd_config',
'sshd_config_src': 'salt://openssh/files/sshd_config',
'banner': '/etc/ssh/banner',

Loading…
Cancel
Save