I have a template for zabbix_agentd.conf.erb that has the following line in 
it: 

<% if has_variable?( "mysqlsrv" ) then %>
UserParameter=FromDual.MySQL.check,/usr/local/mysql_performance_monitor/FromDualMySQLagent.pl
 
/usr/local/mysql_performance_monitor/etc/FromDualMySQLagent.conf <% end %>

I defined the variable $mysqlsrv = "true" in node.pp. However, it seems the 
file is really never updated based on the condition. 

Any suggestions how to troubleshoot this issue? I feel a bit lost.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/SABAP8BPcxwJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to