(POOLER-114) Refactor check_pool in pool_manager

This commit refactorss the check_pool method in pool_manager.
Specifically, each commented section describing a stage of check_pool is
broken out into a separate method and check_pool is simplified by
calling these methods. Without this change it is difficult to follow the
intent for or make changes to check_pool.

Additionally, a docker-compose file is added to make it simple to launch
an all-in-one vmpooler instance along with a separate redis server with
docker.
This commit is contained in:
Samuel Beaulieu 2018-06-19 11:51:29 -05:00 committed by kirby@puppetlabs.com
parent c053554ca8
commit 3aac95d5b9
7 changed files with 916 additions and 671 deletions

View file

@ -13,6 +13,10 @@ git logs & PR history.
# [Unreleased](https://github.com/puppetlabs/vmpooler/compare/0.2.0...master)
### Added
- Re-write check\_pool in pool\_manager to improve readability
- Add a docker-compose file for testing vmpooler
# [0.2.0](https://github.com/puppetlabs/vmpooler/compare/0.1.0...0.2.0)
### Fixed