Commit b233acaf authored by Jennifer Davis's avatar Jennifer Davis
Browse files

removing touching a file/directory that doesn't need to exist on the server

parent 5803731f
require 'fileutils'
unless Dir.exist?("#{node['rsyslog']['config_prefix']}/49-rsyslog.d")
FileUtils.mkdir("#{node['rsyslog']['config_prefix']}/49-rsyslog.d")
end
FileUtils.touch("#{node['rsyslog']['config_prefix']}/rsyslog.d/49-remote.conf")
include_recipe 'rsyslog::server'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment