diff options
author | Mike McCallister <mike@mccllstr.com> | 2011-07-23 00:36:42 -0500 |
---|---|---|
committer | Mike McCallister <mike@mccllstr.com> | 2011-07-23 00:36:42 -0500 |
commit | 71b2daf28752af0f4f91e10139bfac8bce10b041 (patch) | |
tree | 86c98198b453b6a484edb519ca402cc915301eab /tools | |
parent | 42199a9835a548a0a78f48fd6c5f11c3153371dd (diff) | |
download | bcfg2-71b2daf28752af0f4f91e10139bfac8bce10b041.tar.gz bcfg2-71b2daf28752af0f4f91e10139bfac8bce10b041.tar.bz2 bcfg2-71b2daf28752af0f4f91e10139bfac8bce10b041.zip |
Refactor the validate_structure() method into two.
New method named calculate_prereqs() handles pre-req calculation.
Existing validate_structure() method now only handles memoization of
the prereqs and use of the prereqs to update the configuration.
Also added a sort_order value to cause this plugin to run after
Packages, so we can use Deps to add dependencies to implicitly added
Packages. NOTE: This doesn't work yet, as Packages adds BoundPackage
entries, and Deps doesn't yet realize they are equivalent to the
Package entries it knows about. This will be fixed in a future commit.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions