{% from "components/postgres/pg.jinja" import pg with context %}
monitor ALL=(postgres) NOPASSWD: /bin/ls -1 {{ pg.wal_dir_path }}
monitor ALL=(postgres) NOPASSWD: /bin/ls -1 {{ salt['pillar.get']('data:backup:archive:walsdir', pg.data + '/wals') }}
