alexisbellido + salt   42

salt - Check file exists and create a symlink - Stack Overflow
{% if 1 == salt['cmd.retcode']('test -f /path/to/A') %}
/path/to/A:
file.symlink:
- target: /symlink/path/A
{% endif %}
salt  file  exists 
august 2015 by alexisbellido

Copy this bookmark:



description:


tags: