Leverage configure_facts script from p-o-i
Currently for beaker we can't leverage the local mirrors in CI because
we aren't configuring the facts. This change updates beaker to run the
configure_facts.sh from p-o-i to write out the mirror information into
static facter facts that get picked up by puppet-openstack_extras.
Change-Id: I84eaf415590f955b03b8c105d21d59ae1bf989a1
Depends-On: Iae985e8b976850d8386390cfbadb75e434463479
(cherry picked from commit b4aaa478ac)
This commit is contained in:
committed by
Emilien Macchi
parent
d7080329ef
commit
4ec1640a4f
@@ -54,6 +54,7 @@ RSpec.configure do |c|
|
||||
end
|
||||
|
||||
on host, "ZUUL_REF=#{zuul_ref} ZUUL_BRANCH=#{zuul_branch} ZUUL_URL=#{zuul_url} PUPPET_MAJ_VERSION=#{puppet_maj_version} bash #{repo}/install_modules.sh"
|
||||
on host, "WRITE_FACTS=true bash #{repo}/configure_facts.sh"
|
||||
|
||||
# Install the module being tested
|
||||
on host, "rm -fr /etc/puppet/modules/#{module_name}"
|
||||
|
||||
Reference in New Issue
Block a user