Skip to content

Override host ips in vagrant environment

Allow to plug the services locally and avoir to interact with the real hosts. There are no changes on the real configuration (production/staging) as the hostname are only defined on the vagrant subnet

Test Plan

➜  puppet-environment git:(master) ✗ bin/octocatalog-diff worker01
Found host worker01.softwareheritage.org
Cloning into '/tmp/swh-ocd.zeR3aWd8/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.zeR3aWd8/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host worker01.softwareheritage.org
I, [2020-11-09T09:50:25.756098 #19268]  INFO -- : Catalogs compiled for worker01.softwareheritage.org
I, [2020-11-09T09:50:26.737459 #19268]  INFO -- : Diffs computed for worker01.softwareheritage.org
I, [2020-11-09T09:50:26.737494 #19268]  INFO -- : No differences
*** End octocatalog-diff on worker01.softwareheritage.org

Migrated from D4445 (view on Phabricator)

Merge request reports

Loading