2014-01-04 01:54:51 +01:00
|
|
|
{% set openssh = salt['grains.filter_by']({
|
|
|
|
'Debian': {
|
|
|
|
'server': 'openssh-server',
|
2014-01-18 14:00:20 +01:00
|
|
|
'client': 'openssh-client',
|
2014-01-04 01:54:51 +01:00
|
|
|
'service': 'ssh',
|
|
|
|
'sshd_config': '/etc/ssh/sshd_config',
|
|
|
|
'sshd_config_src': 'salt://openssh/files/sshd_config',
|
|
|
|
'banner': '/etc/ssh/banner',
|
|
|
|
'banner_src': 'salt://openssh/files/banner',
|
|
|
|
},
|
|
|
|
'RedHat': {
|
|
|
|
'server': 'openssh-server',
|
2014-01-18 14:00:20 +01:00
|
|
|
'client': 'openssh',
|
2014-01-04 01:54:51 +01:00
|
|
|
'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',
|
|
|
|
},
|
2014-08-08 14:38:27 +02:00
|
|
|
'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',
|
|
|
|
}
|
2014-01-04 01:54:51 +01:00
|
|
|
}, merge=salt['pillar.get']('openssh:lookup')) %}
|