From 868813f4edaa254bf59e3baea97b2c19c8447b4d Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 7 Sep 2016 21:56:25 -0700 Subject: [PATCH] Require Chef 12+ Signed-off-by: Tim Smith --- README.md | 4 ++-- metadata.rb | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 78fdf79..ab81c30 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Requirements May work on other platforms with or without modification. #### Chef -- Chef 11+ +- Chef 12+ #### Cookbooks - none @@ -303,7 +303,7 @@ License & Authors **Author:** Cookbook Engineering Team () -**Copyright:** 2009-2015, Chef Software, Inc. +**Copyright:** 2009-2016, Chef Software, Inc. ``` Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/metadata.rb b/metadata.rb index c540cab..3160cdf 100644 --- a/metadata.rb +++ b/metadata.rb @@ -19,5 +19,7 @@ recipe 'postfix::server', 'Sets the mail_type attribute to master' supports os end -source_url 'https://github.com/chef-cookbooks/postfix' if respond_to?(:issues_url) -issues_url 'https://github.com/chef-cookbooks/postfix/issues' if respond_to?(:source_url) +source_url 'https://github.com/chef-cookbooks/postfix' +issues_url 'https://github.com/chef-cookbooks/postfix/issues' + +chef_version '>= 12.1'