name              "logrotate"
maintainer        "Steven Danna"
maintainer_email  "steve@chef.io"
license           "Apache 2.0"
description       "Installs logrotate package and provides a definition for logrotate configs"
long_description  "Installs the logrotate package, manages /etc/logrotate.conf, and provides a logrotate_app definition."
version           "2.0.0"

source_url "https://github.com/stevendanna/logrotate"
issues_url "https://github.com/stevendanna/logrotate/issues"

recipe "logrotate", "Installs logrotate package"
provides "logrotate_app"

depends "compat_resource"

%w{amazon centos debian fedora redhat scientific solaris2 ubuntu}.each do |platform|
  supports platform
end

name              "logrotate"
maintainer        "Steven Danna"
maintainer_email  "steve@chef.io"
license           "Apache 2.0"
description       "Installs logrotate package and provides a definition for logrotate configs"
long_description  "Installs the logrotate package, manages /etc/logrotate.conf, and provides a logrotate_app definition."
version           "2.0.0"

source_url "https://github.com/stevendanna/logrotate" if respond_to?(:source_url)
issues_url "https://github.com/stevendanna/logrotate/issues" if respond_to?(:issues_url)

recipe "logrotate", "Installs logrotate package"
provides "logrotate_app"

depends "compat_resource"

%w{amazon centos debian fedora redhat scientific solaris2 ubuntu}.each do |platform|
  supports platform
end

Support Chef versions that don't support source_url
Support Chef versions that don't support source_url
