mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-10 09:01:55 +02:00
fix(openbsd): fix dig_pkg, avoid UsePAM & add verification file
This commit is contained in:
5 files changed
+194
-4
No files matched your search
@@ -3,9 +3,13 @@
|
||||
{%- from tplroot ~ "/libtofs.jinja" import files_switch %}
|
||||
{%- set openssh = mapdata.openssh %}
|
||||
|
||||
{%- if openssh.dig_pkg %}
|
||||
ensure dig is available:
|
||||
pkg.installed:
|
||||
- name: {{ openssh.dig_pkg }}
|
||||
- require_in:
|
||||
- file: manage ssh_known_hosts file
|
||||
{%- endif %}
|
||||
|
||||
manage ssh_known_hosts file:
|
||||
file.managed:
|
||||
@@ -19,5 +23,3 @@ manage ssh_known_hosts file:
|
||||
- user: root
|
||||
- group: {{ openssh.ssh_config_group }}
|
||||
- mode: 644
|
||||
- require:
|
||||
- pkg: ensure dig is available
|
||||
@@ -12,6 +12,8 @@
|
||||
values:
|
||||
openssh:
|
||||
service: sshd
|
||||
# Already installed: `base68:/usr/bin/dig`
|
||||
dig_pkg: ~
|
||||
sshd_config_group: wheel
|
||||
ssh_config_group: wheel
|
||||
sshd_config:
|
||||
|
||||
Reference in new issue
Block a user