Commit 2034561d2f024f7c278bacbc200973bb934fe884
1 parent
25847d30
Exists in
syslog
Fix identation and changing permission for file rsyslog.conf
Showing
3 changed files
with
6 additions
and
6 deletions
Show diff stats
config/local/ips.yaml
cookbooks/rsyslog/recipes/node.rb
cookbooks/rsyslog/recipes/server.rb
| ... | ... | @@ -4,13 +4,13 @@ package 'rsyslog' do |
| 4 | 4 | action [:install, :upgrade] |
| 5 | 5 | end |
| 6 | 6 | |
| 7 | -template '/etc/rsyslog.conf' do | |
| 8 | - source 'server/rsyslog.conf.erb' | |
| 7 | +template '/etc/rsyslog.d/server.conf' do | |
| 8 | + source 'server/server.conf.erb' | |
| 9 | 9 | owner 'root' |
| 10 | 10 | group 'root' |
| 11 | - mode 0755 | |
| 11 | + mode 0644 | |
| 12 | 12 | end |
| 13 | 13 | |
| 14 | 14 | service 'rsyslog' do |
| 15 | 15 | action [:enable, :restart] |
| 16 | -end | |
| 17 | 16 | \ No newline at end of file |
| 17 | +end | ... | ... |