-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assume all nodes matching the search query are valid nodes
Previously we checked if nodes were matching search query AND had an existing chef key. This patch assumes that all nodes have exiting chef keys. Experience I have with chef is that nodes without proper keys are bugs and needs to be fixed anyway (either have a key or be removed). This patch allows to make usage of --clean-unknown-clients much faster (avoid querying chef-server for each node) especially on secrets encrypted for many nodes (where search query time is small compared to querying all clients) This introduces a small change in behavior: - before: existing nodes without client would be cleanup by --clean-unknown-clients - now: such nodes are not cleaned. They will be cleaned when node will be removed Change-Id: If45da1faec5c36026a75762afe4bad08cab97f64 Signed-off-by: Grégoire Seux <g.seux@criteo.com>
- Loading branch information
1 parent
ddb3700
commit 342e9c5
Showing
3 changed files
with
6 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters