From 9845b1fddc2f80000898c445852949964cae8786 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Fri, 28 Sep 2018 20:39:31 +0200 Subject: [PATCH] Add support for Solaris; tested on SmartOS instance zone (#137) --- openssh/map.jinja | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openssh/map.jinja b/openssh/map.jinja index f2874ba..c6a0ae4 100644 --- a/openssh/map.jinja +++ b/openssh/map.jinja @@ -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"