Commit 2034561d2f024f7c278bacbc200973bb934fe884

Authored by Paulo Tada
1 parent 25847d30
Exists in syslog

Fix identation and changing permission for file rsyslog.conf

config/local/ips.yaml
... ... @@ -3,4 +3,4 @@ email: 10.10.10.3
3 3 social: 10.10.10.4
4 4 database: 10.10.10.5
5 5 reverseproxy: 10.10.10.6
6   -monitor: 10.10.10.7
  6 +monitor: 10.10.10.7
... ...
cookbooks/rsyslog/recipes/node.rb
... ... @@ -8,7 +8,7 @@ template '/etc/rsyslog.conf' do
8 8 source "node/rsyslog.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
... ...
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
... ...