Explorar el Código

Convert dig exist check to unless req

tags/v0.41.0
Lev Lozhkin hace 8 años
padre
commit
781be61881
Se han modificado 1 ficheros con 1 adiciones y 6 borrados
  1. +1
    -6
      openssh/known_hosts.sls

+ 1
- 6
openssh/known_hosts.sls Ver fichero

@@ -1,14 +1,9 @@
{% from "openssh/map.jinja" import openssh with context %}

check for existing dig:
cmd.run:
- name: which dig

ensure dig is available:
pkg.installed:
- name: {{ openssh.dig_pkg }}
- onfail:
- cmd: check for existing dig
- unless: which dig

manage ssh_known_hosts file:
file.managed:

Cargando…
Cancelar
Guardar