Document parameters added in vmpooler.yaml.example

This change documents new vshpere specific parameters introduced related
to host selection and folder creation. Without this change these paremeters are not
documented.
This commit is contained in:
kirby@puppetlabs.com 2017-11-06 11:12:15 -08:00 committed by mattkirby
parent 67798ab892
commit 82b9033e83
2 changed files with 25 additions and 3 deletions

View file

@ -92,7 +92,6 @@ module Vmpooler
else
select_target_hosts(target, cluster, datacenter)
end
logger.log('s', "Provider_hosts is: #{@provider_hosts[dc]}")
end
def wait_for_host_selection(dc, target, maxloop = 0, loop_delay = 5, max_age = 60)
@ -608,7 +607,7 @@ module Vmpooler
# the host is in maintenance mode
# the host status is not 'green'
# the cpu or memory utilization is bigger than the limit param
def get_host_utilization(host, model = nil, limit = 80)
def get_host_utilization(host, model = nil, limit = 90)
limit = @config[:config]['utilization_limit'] if @config[:config].key?('utilization_limit')
if model
return nil unless host_has_cpu_model?(host, model)