mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-24 01:24:57 +02:00
fix(known_hosts): dig package does not install on Arch
The conditionnal on `ensure dig is available` does not work on Arch since the `which` command does not exists. As the `pkg.installed` state is idempotent, we don't need an extra check which depends on the environment. The `dig` utility is provided by `bind` on Arch and no more by `bind-tools`.
This commit is contained in:
1 parent
644e61651d
commit
0b667cbcf5
2 files changed
+1
-2
No files matched your search
@@ -5,7 +5,6 @@
|
||||
ensure dig is available:
|
||||
pkg.installed:
|
||||
- name: {{ openssh.dig_pkg }}
|
||||
- unless: which dig
|
||||
|
||||
manage ssh_known_hosts file:
|
||||
file.managed:
|
||||
|
||||
Reference in new issue
Block a user