mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(POOLER-137) Support integer environment variables
This commit updates vmpooler to set configuration values received via environment variables to integer values when an integer value is expected. Without this change vmpooler does not support setting integer values via environment variables. Additionally, testing is added for configuring vmpooler via environment variables. To support this testing the gem climate_control is added, which allows for testing environment variables without those set variables leaking to other tests.
This commit is contained in:
parent
a1704b239e
commit
d94b14a4d8
5 changed files with 249 additions and 17 deletions
|
|
@ -12,6 +12,8 @@ If you're looking for changes from before this, refer to the project's
|
|||
git logs & PR history.
|
||||
# [Unreleased](https://github.com/puppetlabs/vmpooler/compare/0.3.0...master)
|
||||
|
||||
### Fixed
|
||||
- Improve support for configuration via environment variables (POOLER-137)
|
||||
|
||||
# [0.3.0](https://github.com/puppetlabs/vmpooler/compare/0.2.2...0.3.0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue