Browse Source

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

tags/v0.41.0
Jasper Lievisse Adriaanse 6 years ago
parent
commit
9845b1fddc
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      openssh/map.jinja

+ 10
- 0
openssh/map.jinja 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"

Loading…
Cancel
Save