Add support for Solaris; tested on SmartOS instance zone (#137)
This commit is contained in:
parent
131910d0ca
commit
9845b1fddc
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue