Chef::Exceptions::ValidationFailed
imewish opened this issue · 0 comments
imewish commented
Hi I was trying to pass a variable to my logstash config template like this,
in recipe
logstash_config 'server' do
action 'create'
templates_cookbook node['logstash']['templates_cookbook']
templates node['logstash']['config']['templates']
variables (node['logstash']['config']['templates']['variables'])
notifies :restart, "logstash_service[server]"
end
in attribute
default['logstash']['config']['templates']['variables'] = {
input_udp_port: 5962
}
but when i converge in test kitchen im getting the following error,
helps would be appreciated.