{% if salt['grains.get']('os') == 'Ubuntu' %}
monitor ALL=(ALL) NOPASSWD: /usr/sbin/service pgsync status
{% else %}
monitor ALL=(ALL) NOPASSWD: /sbin/service pgsync status
{% endif %}
