diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-26 15:24:48 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-28 11:19:49 -0800 |
commit | f539a7f985c9c7f92b6197b883d8f6c201cf70e8 (patch) | |
tree | e3960005da438084b16504796d8921bb590442ed | |
parent | 7ee1d70692864b4496176acac9e6ed8196aa53cb (diff) | |
download | chef-f539a7f985c9c7f92b6197b883d8f6c201cf70e8.tar.gz |
add RELEASE_NOTES for mandatory code property on script resource
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | RELEASE_NOTES.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index d1d8d498e4..973c6686ac 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -9,11 +9,17 @@ _This file holds "in progress" release notes for the current release under devel It was never implemented in the provider, so it was always a no-op to use it, the remediation is to simply delete it. -### Using the command property on the script resource (and bash and all other resources that inherit from script) is now a hard error +### Using the command property on any script resource (including bash, etc) is now a hard error This was always a usage mistake. The command property was used internally by the script resource and was not intended to be exposed to users. Users should use the code property instead (or use the command property on an execute resource to execute a single command). +### Omitting the code property on any script resource (including bash, etc) is now a hard error + +It is possible that this was being used as a no-op resource, but the log resource is a better choice for that until we get a null +resource added. Omitting the code property or mixing up the code property with the command property are also common usage mistakes +that we need to catch and error on. + ### The chef_gem resource defaults to not run at compile time The `compile_time true` flag may still be used to force compile time. |