sort distros alphabetically

This commit is contained in:
Marc Schiffbauer 2015-03-23 14:55:40 +01:00
parent 7adb33ca01
commit 28e0916840
1 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,13 @@
{% set openssh = salt['grains.filter_by']({ {% 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': { 'Debian': {
'server': 'openssh-server', 'server': 'openssh-server',
'client': 'openssh-client', 'client': 'openssh-client',
@ -8,6 +17,13 @@
'banner': '/etc/ssh/banner', 'banner': '/etc/ssh/banner',
'banner_src': 'salt://openssh/files/banner', 'banner_src': 'salt://openssh/files/banner',
}, },
'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',
},
'RedHat': { 'RedHat': {
'server': 'openssh-server', 'server': 'openssh-server',
'client': 'openssh', 'client': 'openssh',
@ -26,20 +42,4 @@
'banner': '/etc/ssh/banner', 'banner': '/etc/ssh/banner',
'banner_src': 'salt://openssh/files/banner', 'banner_src': 'salt://openssh/files/banner',
}, },
'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',
},
'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',
},
}, merge=salt['pillar.get']('openssh:lookup')) %} }, merge=salt['pillar.get']('openssh:lookup')) %}