```ruby
include_recipe 'fluentd_part::common'

template '/etc/td-agent/config.d/server.conf' do
  owner 'td-agent'
  group 'td-agent'
  source 'server.conf.erb'
  mode 0755
  notifies :restart, 'service[td-agent]', :delayed
end
```

Fix to create in_forward directory.
user
```ruby
include_recipe 'fluentd_part::common'

template '/etc/td-agent/config.d/server.conf' do
  owner 'td-agent'
  group 'td-agent'
  source 'server.conf.erb'
  mode 0755
  notifies :restart, 'service[td-agent]', :delayed
end

roles = ENV['ROLE'].split(',')
directory node['fluentd_part']['server']['store_dir'] do
  mode 0755
  recursive true
  action :create
  only_if { roles.include?('log') }
end
```
assistant