]> git.openstreetmap.org Git - chef.git/blobdiff - roles/spike-01.rb
Configure the publisher URL for rails port instances
[chef.git] / roles / spike-01.rb
index 335a81a6e2efecce20016028a0f5853361f91684..7ac4eceaead3a90d995efe0fb12544328c0d732a 100644 (file)
@@ -4,6 +4,13 @@ description "Master role applied to spike-01"
 default_attributes(
   :networking => {
     :interfaces => {
+      :internal_ipv4 => {
+        :interface => "eth0",
+        :role => :internal,
+        :family => :inet,
+        :address => "146.179.159.162",
+        :hwaddress => "00:1a:4b:a5:0f:ca"
+      },
       :external_ipv4 => {
         :interface => "eth1",
         :role => :external,
@@ -19,12 +26,21 @@ default_attributes(
         :hwaddress => "00:1a:4b:a5:fd:2a"
       }
     }
+  },
+  :sysctl => {
+    :ipv6_autoconf => {
+      :comment => "Disable IPv6 auto-configuration on internal interface",
+      :parameters => {
+        "net.ipv6.conf.eth0.autoconf" => "0",
+        "net.ipv6.conf.eth0.accept_ra" => "0"
+      }
+    }
   }
 )
 
 run_list(
   "role[ic]",
-  "role[hp-g6]",
+  "role[hp-dl360-g6]",
   "role[web-frontend]",
   "role[web-gpximport]",
   "role[web-statistics]",