Add support for Solaris; tested on SmartOS instance zone (#137)

This commit is contained in:
Jasper Lievisse Adriaanse 2018-09-28 20:39:31 +02:00 committed by Niels Abspoel
parent 131910d0ca
commit 9845b1fddc

View File

@ -46,6 +46,13 @@ that differ from whats in defaults.yaml
'service': 'sshd',
'dig_pkg': 'bind-utils',
},
'Solaris': {
'service': 'network/ssh',
'sshd_config_group': 'root',
'ssh_config_group': 'root',
'dig_pkg': 'bind',
'sshd_binary': '/usr/lib/ssh/sshd',
},
}
, grain="os_family"
, merge=salt['pillar.get']('openssh:lookup'))
@ -81,6 +88,9 @@ that differ from whats in defaults.yaml
'RedHat': {
'Subsystem': 'sftp /usr/libexec/openssh/sftp-server',
},
'Solaris': {
'Subsystem': 'sftp internal-sftp',
},
'default': {}
}
, grain="os_family"