Commit c4f46fa1 authored by Tim Smith's avatar Tim Smith
Browse files

Resolve cookstyle warnings


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 911d3f48
......@@ -3,15 +3,12 @@ maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache-2.0'
description 'Installs cron'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '6.2.1'
recipe 'cron', 'Installs the cron package and starts the crond service.'
%w(ubuntu debian fedora redhat centos scientific oracle amazon smartos omnios solaris2 freebsd zlinux opensuse suse opensuseleap).each do |os|
supports os
end
source_url 'https://github.com/chef-cookbooks/cron'
issues_url 'https://github.com/chef-cookbooks/cron/issues'
chef_version '>= 12.7' if respond_to?(:chef_version)
chef_version '>= 12.7'
......@@ -144,7 +144,7 @@ cron_access 'tom' do
end
# legacy resource name
cron_manage 'Bill breaks things. Take away cron' do
cron_manage 'Bill breaks things. Take away cron' do # rubocop: disable ChefModernize/CronManageResource
user 'bill'
action :deny
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment