cookbook-zabbix/recipes/database.rb

16 lines
322 B
Ruby
Raw Normal View History

2017-02-07 01:02:03 -05:00
#
# Cookbook Name:: zabbix
# Recipe:: database
#
# Copyright 2017, Linux-Help.org
# Authors:
# Eric Renfro <psi-jack@linux-help.org>
#
case node['zabbix']['database']['backend']
when 'postgresql'
include_recipe 'zabbix::database_postgresql'
else
Chef::Application.fatal!('Unknown database backend to use.', 101)
2017-02-07 01:02:03 -05:00
end