Merge "Move interface wait time to netconfig task"

This commit is contained in:
Jenkins 2015-06-18 12:16:08 +00:00 committed by Gerrit Code Review
commit e3ba32df91
2 changed files with 9 additions and 4 deletions

View File

@ -93,10 +93,6 @@ function. Must be of type String or Hash."
end
end
#Add sleep before checking for repos
#as Ubuntu waits 32 seconds for the
#bridge to become ready
sleep 32
# if passed an array, iterate through the array an check each element
if url.instance_of? Array
url.each do |u|

View File

@ -68,3 +68,12 @@ if !defined(Service['irqbalance']) {
require => Package['irqbalance'],
}
}
# We need to wait at least 30 seconds for the bridges and other interfaces to
# come up after being created. This should allow for all interfaces to be up
# and ready for traffic before proceeding with further deploy steps. LP#1458954
exec { 'wait-for-interfaces':
path => '/usr/bin:/bin',
command => 'sleep 32',
require => Class['l23network'],
}