projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
community: failsafe always try start web_only container
[chef.git]
/
roles
/
bytemark.rb
diff --git
a/roles/bytemark.rb
b/roles/bytemark.rb
index 2289df6484e929e6b16b80556bbe2c9ae675c78f..93f652b1dc72a8d27bb8278fd844e76613d0b9d0 100644
(file)
--- a/
roles/bytemark.rb
+++ b/
roles/bytemark.rb
@@
-5,12
+5,14
@@
default_attributes(
:hosted_by => "Bytemark",
:location => "York, England",
:networking => {
:hosted_by => "Bytemark",
:location => "York, England",
:networking => {
- :nameservers => ["10.0.32.20"],
:roles => {
:internal => {
:inet => {
:prefix => "20",
:roles => {
:internal => {
:inet => {
:prefix => "20",
- :gateway => "10.0.32.20"
+ :gateway => "10.0.32.20",
+ :routes => {
+ "10.0.0.0/8" => { :via => "10.0.32.20" }
+ }
}
},
:external => {
}
},
:external => {
@@
-27,7
+29,6
@@
default_attributes(
}
},
:web => {
}
},
:web => {
- :backends => %w[rails4 rails5],
:fileserver => "grisu",
:readonly_database_host => "katla.bm.openstreetmap.org"
}
:fileserver => "grisu",
:readonly_database_host => "katla.bm.openstreetmap.org"
}
@@
-35,6
+36,7
@@
default_attributes(
override_attributes(
:networking => {
override_attributes(
:networking => {
+ :nameservers => ["10.0.32.20"],
:search => ["bm.openstreetmap.org", "openstreetmap.org"]
},
:ntp => {
:search => ["bm.openstreetmap.org", "openstreetmap.org"]
},
:ntp => {