]> git.openstreetmap.org Git - chef.git/commitdiff
Make snap-01 the database master
authorTom Hughes <tom@compton.nu>
Sat, 31 Oct 2020 15:37:58 +0000 (15:37 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 1 Nov 2020 10:31:18 +0000 (10:31 +0000)
roles/karm.rb
roles/snap-01.rb

index 9490d64e9f5d443f1f668f950feb902a4a2a7eed..04b5a925be475beef37f241c1d3c8f714290a23c 100644 (file)
@@ -40,6 +40,5 @@ default_attributes(
 
 run_list(
   "role[equinix]",
-  "role[db-master]",
-  "role[db-backup]"
+  "role[db-slave]"
 )
index c79f141456eae5389a8be562955833dd8b86411b..1935e753d7fe33a73b536ea1afe06e7e73078912 100644 (file)
@@ -40,5 +40,6 @@ default_attributes(
 
 run_list(
   "role[equinix]",
-  "role[db-slave]"
+  "role[db-master]",
+  "role[db-backup]"
 )