https://github.com/wikimedia/operations-puppet
Revision 5d0d303b6c80800609debfe42961dbf757696c58 authored by Giuseppe Lavagetto on 03 March 2017, 15:34:48 UTC, committed by Giuseppe Lavagetto on 03 March 2017, 15:42:43 UTC
We switched to the following logic in determining which datacenter is
the primary:

- we make a dns resolution of appservers-rw.discovery.wmnet and we pick
  the datacenter that corresponds to that IP

- If another IP is given in response (for example, the inexistent IP we
  provide during the transition) we simply make the catalog compilation
  fail as a safety measure.

Change-Id: I5ad3ff94cc87eef4c2a00ec91fcced58556e3ba5
1 parent 897f9a2
History
Tip revision: 5d0d303b6c80800609debfe42961dbf757696c58 authored by Giuseppe Lavagetto on 03 March 2017, 15:34:48 UTC
discovery: remove app_routes, switch mwprimary
Tip revision: 5d0d303
File Mode Size
conftool-data
doc
files
hieradata
manifests
modules
templates
utils
.ctags -rw-r--r-- 323 bytes
.gitignore -rw-r--r-- 499 bytes
.gitmodules -rw-r--r-- 847 bytes
.gitreview -rw-r--r-- 101 bytes
.mailmap -rw-r--r-- 9.5 KB
.puppet-lint.rc -rw-r--r-- 183 bytes
.rubocop.yml -rw-r--r-- 848 bytes
.rubocop_todo.yml -rw-r--r-- 11.6 KB
.ruby-version -rw-r--r-- 4 bytes
Gemfile -rw-r--r-- 434 bytes
README -rw-r--r-- 783 bytes
Rakefile -rw-r--r-- 5.6 KB
tox.ini -rw-r--r-- 897 bytes
typos -rw-r--r-- 297 bytes

README

back to top