mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-02 12:20:06 +02:00
Add FreeBSD compatibility
This commit is contained in:
1 parent
b39ea29c0c
commit
edc208b79b
2 files changed
+11
No files matched your search
@@ -1,10 +1,14 @@
|
||||
{% from "openssh/map.jinja" import openssh with context %}
|
||||
|
||||
openssh:
|
||||
{% if openssh.server is defined %}
|
||||
pkg.installed:
|
||||
- name: {{ openssh.server }}
|
||||
{% endif %}
|
||||
service.running:
|
||||
- enable: True
|
||||
- name: {{ openssh.service }}
|
||||
{% if openssh.server is defined %}
|
||||
- require:
|
||||
- pkg: {{ openssh.server }}
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user