mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Everyday I'm shuffling
This commit is contained in:
parent
4891b0deb3
commit
e1cf8d16a6
1 changed files with 3 additions and 3 deletions
|
|
@ -164,7 +164,7 @@ end
|
|||
# Promotion loop
|
||||
Thread.new {
|
||||
loop do
|
||||
pools.each do |pool|
|
||||
pools.shuffle.each do |pool|
|
||||
inventory = {}
|
||||
|
||||
# Locate the resource pool
|
||||
|
|
@ -206,7 +206,7 @@ end
|
|||
# Cleanup loop
|
||||
Thread.new {
|
||||
loop do
|
||||
pools.each do |pool|
|
||||
pools.shuffle.each do |pool|
|
||||
inventory = {}
|
||||
|
||||
# Locate the resource pool
|
||||
|
|
@ -245,7 +245,7 @@ end
|
|||
|
||||
# Update loop
|
||||
loop do
|
||||
pools.each do |pool|
|
||||
pools.shuffle.each do |pool|
|
||||
inventory = {}
|
||||
|
||||
# Locate the resource pool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue