[qubes-users] Failing Salt code: out of ideas and wrong error?
this works for me:
create bind dirs config file:
file.managed:
- name: /rw/config/qubes-bind-dirs.d/50_user.conf
- makedirs: True
- mode: 644
- dir_mode: 755
{% set binddirs = [’/usr/local’, ‘/usr/tmp’] %}
{% for binddir in binddirs -%}
configure {{ binddir }} to be persistent:
file.replace:
- name: /rw/config/qubes-bind-dirs.d/50_user.conf
- pattern: “^binds+=( {{ binddir }} )$”
- repl: “binds+=( {{ binddir }} )”
- append_if_not_found: True
{% endfor %}