templates/default/zabbix.conf.php.erb
<?php
// Zabbix GUI configuration file, generated by Chef
global $DB;
$DB["TYPE"] = '<%= @db_vendor %>';
$DB["SERVER"] = '<%= @db_host %>';
$DB["PORT"] = '<%= @db_port %>';
$DB["DATABASE"] = '<%= @db_name %>';
$DB["USER"] = '<%= @user_name%>';
$DB["PASSWORD"] = '<%= @user_password%>';
$ZBX_SERVER = '<%= @server_host %>';
$ZBX_SERVER_PORT = '<%= @server_port %>';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>