mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
(maint) Don't require config file for list --active
Will fallback to printing ABS information, which is less than what you get if vmpooler_fallback is available
This commit is contained in:
parent
1e81c78a5b
commit
3a60ffbdbd
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class Utils
|
||||||
|
|
||||||
output_target.puts "- [JobID:#{host_data['request']['job']['id']}] <#{host_data['state']}>"
|
output_target.puts "- [JobID:#{host_data['request']['job']['id']}] <#{host_data['state']}>"
|
||||||
host_data['allocated_resources'].each do |allocated_resources, _i|
|
host_data['allocated_resources'].each do |allocated_resources, _i|
|
||||||
if allocated_resources['engine'] == "vmpooler"
|
if allocated_resources['engine'] == "vmpooler" && service.config["vmpooler_fallback"]
|
||||||
vmpooler_service = service.clone
|
vmpooler_service = service.clone
|
||||||
vmpooler_service.silent = true
|
vmpooler_service.silent = true
|
||||||
vmpooler_service.maybe_use_vmpooler
|
vmpooler_service.maybe_use_vmpooler
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue