From 2034561d2f024f7c278bacbc200973bb934fe884 Mon Sep 17 00:00:00 2001 From: Paulo Tada Date: Thu, 20 Aug 2015 17:33:41 -0300 Subject: [PATCH] Fix identation and changing permission for file rsyslog.conf --- config/local/ips.yaml | 2 +- cookbooks/rsyslog/recipes/node.rb | 2 +- cookbooks/rsyslog/recipes/server.rb | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/local/ips.yaml b/config/local/ips.yaml index 67c341a..2d50d68 100644 --- a/config/local/ips.yaml +++ b/config/local/ips.yaml @@ -3,4 +3,4 @@ email: 10.10.10.3 social: 10.10.10.4 database: 10.10.10.5 reverseproxy: 10.10.10.6 -monitor: 10.10.10.7 +monitor: 10.10.10.7 diff --git a/cookbooks/rsyslog/recipes/node.rb b/cookbooks/rsyslog/recipes/node.rb index bae4bdb..2c72971 100644 --- a/cookbooks/rsyslog/recipes/node.rb +++ b/cookbooks/rsyslog/recipes/node.rb @@ -8,7 +8,7 @@ template '/etc/rsyslog.conf' do source "node/rsyslog.conf.erb" owner 'root' group 'root' - mode 0755 + mode 0644 end service 'rsyslog' do diff --git a/cookbooks/rsyslog/recipes/server.rb b/cookbooks/rsyslog/recipes/server.rb index babdfa6..ac10033 100644 --- a/cookbooks/rsyslog/recipes/server.rb +++ b/cookbooks/rsyslog/recipes/server.rb @@ -4,13 +4,13 @@ package 'rsyslog' do action [:install, :upgrade] end -template '/etc/rsyslog.conf' do - source 'server/rsyslog.conf.erb' +template '/etc/rsyslog.d/server.conf' do + source 'server/server.conf.erb' owner 'root' group 'root' - mode 0755 + mode 0644 end service 'rsyslog' do action [:enable, :restart] -end \ No newline at end of file +end -- libgit2 0.21.2