Skip to content

Commit

Permalink
[conf] minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Lundquist committed Jan 2, 2013
1 parent cecb119 commit 10af24a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default.remote_syslog.init_style = "init"
default.remote_syslog.conf.files = []
default.remote_syslog.conf.files = ["/var/log/*.*"]
default.remote_syslog.destination.host = "logs.papertrailapp.com"
default.remote_syslog.destination.port = 12345

Expand Down
3 changes: 3 additions & 0 deletions recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

template "/etc/log_files.yml" do
source "log_files.erb"
owner "root"
group "root"
mode "0644"

# TODO make this a .to_yaml, issue with getting extra data
variables :files => node.remote_syslog.conf.files,
Expand Down

0 comments on commit 10af24a

Please sign in to comment.