Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed logrotate support since runit porvides that

  • Loading branch information...
commit d0b29acf4ed5f8c7e66182b408a5d654ab96ec33 1 parent fee6759
gansbrest gansbrest authored
Showing with 1 addition and 11 deletions.
  1. +1 −2  metadata.rb
  2. +0 −9 recipes/default.rb
3  metadata.rb
View
@@ -6,11 +6,10 @@
recipe "statsd", "Installs and configures StatsD"
name "statsd"
-%w{ git logrotate nodejs runit }.each do |d|
+%w{ git nodejs runit }.each do |d|
depends d
end
%w{ ubuntu rhel scientific redhat centos amazon}.each do |os|
supports os
end
-
9 recipes/default.rb
View
@@ -1,6 +1,5 @@
include_recipe "git"
include_recipe "nodejs"
-include_recipe "logrotate"
include_recipe "runit"
git node["statsd"]["dir"] do
@@ -39,14 +38,6 @@
shell "/bin/false"
end
-logrotate_app "statsd" do
- cookbook "logrotate"
- path node["statsd"]["log_file"]
- frequency "daily"
- rotate 7
- create "644 root root"
-end
-
runit_service "statsd" do
action [:enable, :start]
default_logger true
Please sign in to comment.
Something went wrong with that request. Please try again.