summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-09-30 08:29:37 -0700
committerClaire McQuin <claire@getchef.com>2014-10-01 14:31:05 -0700
commit9001bbc2d6ff694ddb31fd8b437b4e28367db839 (patch)
treec38469cb4178467a0b783aef57be25ff3f31c8d7
parente1da39b1a278f6baea3795a282dc565315a72c34 (diff)
downloadchef-9001bbc2d6ff694ddb31fd8b437b4e28367db839.tar.gz
Update for removed unforked interval client runs.
-rw-r--r--CHANGELOG.md1
-rw-r--r--DOC_CHANGES.md12
-rw-r--r--RELEASE_NOTES.md5
3 files changed, 18 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 06c4b606aa..8b7a2f352b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -141,6 +141,7 @@
* Add homebrew provider for package resource, use it by default on OS X (Issue #1709)
* Add escape_glob method to PathHelper, update glob operations.
* Verify x509 properties of certificates in the :trusted_certs_dir during knife ssl check.
+* Disable unforked interval chef-client runs.
## Last Release: 11.14.2
diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md
index b79e06b4fc..357e9438c4 100644
--- a/DOC_CHANGES.md
+++ b/DOC_CHANGES.md
@@ -182,6 +182,18 @@ $ knife search node "platform:ubuntu" --filter-result "c_version:languages.c.gcc
$
```
+## Unforked interval chef-client runs are disabled
+It is now explicitly prohibited to run the chef-client and chef-solo applications at intervals without forking.
+These commands will fail immediately
+```bash
+chef-client --daemonize --no-fork
+chef-solo --interval 1800 --no-fork
+chef-client --daemonize --interval 0 --no-fork
+```
+You can provide the `--interval` and `--daemonize` flags in conjunction with `--no-fork` if the `--once` flag
+is also given. However `--once` overrides all `--interval` and `--splay` settings to run `chef-client` once
+then exits.
+
# `knife ssl check` will verify X509 properties of your trusted certificates
When you run `knife ssl check URL (options)` knife will verify if the certificate files, with extensions `*.crt` and `*.pem`
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 12e0351623..e9ce2d93a1 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -271,3 +271,8 @@ config setting and always set to VERIFY_NONE.
by the given Hash. This works analogously to the partial_search method from the [partial_search cookbook](https://supermarket.getchef.com/cookbooks/partial_search),
with `:filter_result` replacing `:keys`. You can also filter `knife search` results by supplying the `--filter-result`
or `-f` option and a comma-separated string representation of the filter hash.
+
+## Unforked chef-client interval runs are disabled.
+We no longer allow unforked interval runs of `chef-client`. CLI arguments with flag combinations `--interval SEC --no-fork` or
+`--daemonize --no-fork` will fail immediately. You can supply the `--once` flag so that chef-client will execute once
+in the current process and exit.