opscode/chef_wm — pull request #96 by oferrigni (2013-11-19 18:15:38+00:00)
Title: Add support for orphan authz cleanup

In the course of operations, it is possible to orphan authz ids. These authz
ids can be members of groups. These changes both lower the frequency of
orphaning authz ids and provide functionality to remove existing orphans from
bifrost upon detection.

There are new configuration elements for this cleanup. In oc_chef_authz
cleanup_interval specifies the time between checks for orphans to be cleaned
up. Additionally in oc_chef_authz, cleanup_batch_size specifies the number of
orphans to cleanup per interval event.

The intervals should not stack. A timer activates on the interval time and,
once the prune task completes, is scheduled again. This keeps the time between
cleanups consistent.