From b6c8777a52ecb75bdb2d946bf73651a8a14709f4 Mon Sep 17 00:00:00 2001 From: Greg Schofield Date: Tue, 12 Apr 2022 12:35:44 -0400 Subject: [PATCH 1/2] Pin logrotate to a version that supports chef 13 --- metadata.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.rb b/metadata.rb index 0485876a..2f814f7d 100644 --- a/metadata.rb +++ b/metadata.rb @@ -10,7 +10,7 @@ end depends 'cron', '>= 4.2.0' -depends 'logrotate', '>= 1.9.0' +depends 'logrotate', '>= 1.9.0', '<= 3.0.0' source_url 'https://github.com/chef-cookbooks/chef-client' issues_url 'https://github.com/chef-cookbooks/chef-client/issues' From 72a1df3634a707aa8e3dec9474c33fea438d5153 Mon Sep 17 00:00:00 2001 From: Greg Schofield Date: Wed, 13 Apr 2022 09:59:39 -0400 Subject: [PATCH 2/2] Logrotate 3.0.0 and above does not support Chef 13 --- metadata.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.rb b/metadata.rb index 2f814f7d..7c6d46fc 100644 --- a/metadata.rb +++ b/metadata.rb @@ -10,7 +10,7 @@ end depends 'cron', '>= 4.2.0' -depends 'logrotate', '>= 1.9.0', '<= 3.0.0' +depends 'logrotate', '>= 1.9.0', '< 3.0.0' source_url 'https://github.com/chef-cookbooks/chef-client' issues_url 'https://github.com/chef-cookbooks/chef-client/issues'