Bcfg2/bcfg2 — pull request #149 by danfoster (2013-12-29 17:09:12+00:00)
Title: Essential package list cache is not cleared when Packages is refreshed

When `` is set in `Packages/sources.xml`, the essential package list get recorded in the Packages cache. This set is then always read from cache and the list is never reset when` bcfg2-admin xcmd Packages.Refresh` is run.

If the essential attribute is set to false, the Packages plugin will not forget about the essential package list unless the cache is removed and the server restarted.

The attached patch should reset the essential package list when the Packages plugin is refreshed.