spuder

chef hash

Mar 12th, 2015
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.26 KB | None | 0 0
  1. aHash = { output_elasticsearch =>  'config/output_elasticsearch.conf.erb' }
  2. logstash_config 'output_elasticsearch' do
  3.   templates_cookbook 'foobar-Logstash-Indexer'
  4.   templates ( aHash )
  5.   action [:create]
  6.   # notifies :restart, "logstash_service[#{name}]"
  7. end
Advertisement
Add Comment
Please, Sign In to add comment