X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ee603acb6bce130b494f41fd79da3a36f79de017..7013f21316fbdc86a8a36c7aea7f908878db6ef7:/roles/spike-01.rb diff --git a/roles/spike-01.rb b/roles/spike-01.rb index 335a81a6e..7ac4eceae 100644 --- a/roles/spike-01.rb +++ b/roles/spike-01.rb @@ -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]",