diff options
-rw-r--r-- | .expeditor/config.yml | 3 | ||||
-rw-r--r-- | lib/chef/property.rb | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 21d8ca10e6..ee2ff102d0 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -23,6 +23,9 @@ github: # The file where our CHANGELOG is kept. This file is updated automatically with # details from the Pull Request via the `built_in:update_changelog` merge_action. changelog_file: "CHANGELOG.md" + # This will trigger an Omnibus build with EXPIRE_CACHE enabled after + # a pull request is merged into the release branch. + enable_expire_cache: true # The tag format to use (e.g. v1.0.0) version_tag_format: "v{{version}}" # The Github Team primarily responsible for handling incoming Pull Requests. diff --git a/lib/chef/property.rb b/lib/chef/property.rb index 776b64bdc8..cdabf27be5 100644 --- a/lib/chef/property.rb +++ b/lib/chef/property.rb @@ -657,9 +657,9 @@ class Chef # as needed. return if Chef::Resource.properties.keys.include?(name) - # Special case for `supports` as it was moved in Chef 13 and this is causing + # Special case for `supports` and `state` as they were moved in Chef 13 and this is causing # some user confusion in cookbooks that need to support both 12 and 13. - return if name.to_s == "supports" + return if %w{ supports state }.include? name.to_s # Emit the deprecation. resource_name = declared_in.respond_to?(:resource_name) ? declared_in.resource_name : declared_in |