]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-01.rb
fix rubocop offenses
[chef.git] / roles / thorn-01.rb
index f1955526ab9154ea472c2a9cfe20d9a24f8af028..e729c4e987d2235ba3c99386d0aa7b78f0cb4f2e 100644 (file)
@@ -5,10 +5,13 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
-        :interface => "eth0",
+        :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "146.179.159.165"
+        :address => "10.0.48.51",
+        :bond => {
+          :slaves => %w[eth0 eth1]
+        }
       }
     }
   },
@@ -20,9 +23,6 @@ default_attributes(
         "net.ipv6.conf.eth0.accept_ra" => "0"
       }
     }
-  },
-  :web => {
-    :readonly_database_host => "db-slave"
   }
 )