Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openssh-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
openssh-formula
Commits
6e418aa9
Commit
6e418aa9
authored
11 years ago
by
Kenny Do
Browse files
Options
Downloads
Patches
Plain Diff
added a state that installs the openssh client
parent
f2d5c4b1
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.rst
+7
-2
7 additions, 2 deletions
README.rst
openssh/client.sls
+5
-0
5 additions, 0 deletions
openssh/client.sls
openssh/map.jinja
+2
-0
2 additions, 0 deletions
openssh/map.jinja
with
14 additions
and
2 deletions
README.rst
+
7
−
2
View file @
6e418aa9
...
...
@@ -16,16 +16,21 @@ Available states
``openssh``
-----------
Installs the ``openssh`` package and service.
Installs the ``openssh``
server
package and service.
``openssh.config``
------------------
Installs the configuration file included in this formula
Installs the
ssh daemon
configuration file included in this formula
(under "openssh/files"). This configuration file is populated
by values from pillar. ``pillar.example`` results in the generation
of the default ``sshd_config`` file on Debian Wheezy.
``openssh.client``
------------------
Installs the openssh client package.
``openssh.banner``
------------------
...
...
This diff is collapsed.
Click to expand it.
openssh/client.sls
0 → 100644
+
5
−
0
View file @
6e418aa9
{% from "openssh/map.jinja" import openssh with context %}
openssh_client:
pkg.installed:
- name: {{ openssh.client }}
This diff is collapsed.
Click to expand it.
openssh/map.jinja
+
2
−
0
View file @
6e418aa9
{% 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',
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment