mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-23 07:28:43 +02:00
added a state that installs the openssh client
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{% from "openssh/map.jinja" import openssh with context %}
|
||||
|
||||
openssh_client:
|
||||
pkg.installed:
|
||||
- name: {{ openssh.client }}
|
||||
@@ -1,6 +1,7 @@
|
||||
{% set openssh = salt['grains.filter_by']({
|
||||
'Debian': {
|
||||
'server': 'openssh-server',
|
||||
'client': 'openssh-client',
|
||||
'service': 'ssh',
|
||||
'sshd_config': '/etc/ssh/sshd_config',
|
||||
'sshd_config_src': 'salt://openssh/files/sshd_config',
|
||||
@@ -9,6 +10,7 @@
|
||||
},
|
||||
'RedHat': {
|
||||
'server': 'openssh-server',
|
||||
'client': 'openssh',
|
||||
'service': 'sshd',
|
||||
'sshd_config': '/etc/ssh/sshd_config',
|
||||
'sshd_config_src': 'salt://openssh/files/sshd_config',
|
||||
|
||||
Reference in New Issue
Block a user