Skip to content

Commit

Permalink
roles/munin: Fix munin-node config on Debian hosts
Browse files Browse the repository at this point in the history
We should be using ansible_os_family here instead of ansible_distribution.

Signed-off-by: Alan Orth <[email protected]>
  • Loading branch information
alanorth committed Nov 12, 2015
1 parent 34f8477 commit 6f93cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/munin/templates/munin-node.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

log_level 4
{% if ansible_distribution == "Ubuntu" %}
{% if ansible_os_family == "Debian" %}
log_file /var/log/munin/munin-node.log
{% else %}
log_file /var/log/munin-node/munin-node.log
Expand Down

0 comments on commit 6f93cdc

Please sign in to comment.