Project

General

Profile

« Previous | Next » 

Revision b4587266

Added by Justin Sherrill almost 10 years ago

fixes #7145 - do not try to use ipv6 for service-wait network checks

View differences:

Puppetfile
mod 'katello/katello', :git => 'https://github.com/Katello/puppet-katello'
mod 'katello-pulp', :git => 'https://github.com/Katello/puppet-pulp'
mod 'katello/qpid', :git => 'https://github.com/Katello/puppet-qpid'
mod 'katello/service_wait', :git => 'https://github.com/Katello/puppet-service_wait'
mod 'katello-service_wait', :git => 'https://github.com/Katello/puppet-service_wait'
mod 'puppetlabs/mongodb', :git => 'https://github.com/puppetlabs/puppetlabs-mongodb'
# Katello devel specific modules
Puppetfile.lock
GIT
remote: https://github.com/Katello/puppet-service_wait
ref: master
sha: 83cc88b676d1808a55cdbed70103a3719fb74d0b
sha: e165ed21a7068da8d34aaa6a8c52a9c2021e1c52
specs:
katello-service_wait (0.0.1)
modules/service_wait/bin/service-wait
wait-for-url () {
# we use wget first because it's able to retry from connrefused situation
/usr/bin/wget --timeout=1 --tries=$WAIT_MAX --retry-connrefused -qO-\
/usr/bin/wget --timeout=1 -4 --tries=$WAIT_MAX --retry-connrefused -qO-\
--no-check-certificate $1 > /dev/null
# then we double check with curl that the service is really
# available. wget is not able to retry from 'Unable to establish

Also available in: Unified diff