Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{% if 'servmon' in grains['roles'] %}
f2bpath: /var/log/httpd/error_log
{% elif 'webserver' in grains['roles'] %}
f2bpath: /home/*/log/error_log
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.