itamae/cookbooks/fluentd/slack.rb

13 lines
292 B
Ruby
Raw Normal View History

2019-03-03 08:50:49 +00:00
gem_package 'fluent-plugin-slack' do
action :upgrade
gem_binary '/usr/sbin/td-agent-gem'
end
encrypted_remote_file '/etc/td-agent/conf.d/watcher.conf' do
owner 'root'
group 'root'
mode '644'
source 'files/etc/td-agent/conf.d/watcher.conf'
password ENV['ITAMAE_PASSWORD']
end