mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -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
|
# Promotion loop
|
||||||
Thread.new {
|
Thread.new {
|
||||||
loop do
|
loop do
|
||||||
pools.each do |pool|
|
pools.shuffle.each do |pool|
|
||||||
inventory = {}
|
inventory = {}
|
||||||
|
|
||||||
# Locate the resource pool
|
# Locate the resource pool
|
||||||
|
|
@ -206,7 +206,7 @@ end
|
||||||
# Cleanup loop
|
# Cleanup loop
|
||||||
Thread.new {
|
Thread.new {
|
||||||
loop do
|
loop do
|
||||||
pools.each do |pool|
|
pools.shuffle.each do |pool|
|
||||||
inventory = {}
|
inventory = {}
|
||||||
|
|
||||||
# Locate the resource pool
|
# Locate the resource pool
|
||||||
|
|
@ -245,7 +245,7 @@ end
|
||||||
|
|
||||||
# Update loop
|
# Update loop
|
||||||
loop do
|
loop do
|
||||||
pools.each do |pool|
|
pools.shuffle.each do |pool|
|
||||||
inventory = {}
|
inventory = {}
|
||||||
|
|
||||||
# Locate the resource pool
|
# Locate the resource pool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue