X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/9c69d3d41616820e83728ca063fbf7f62562d932..344abf5bde22aa66aa0411b15967f1c60d96db0b:/roles/sarel.rb diff --git a/roles/sarel.rb b/roles/sarel.rb index 245fb0fed..69cb50dd2 100644 --- a/roles/sarel.rb +++ b/roles/sarel.rb @@ -2,16 +2,22 @@ name "sarel" description "Master role applied to sarel" default_attributes( + :git => { + :allowed_nodes => "fqdn:*", + :user => "chefrepo", + :group => "chefrepo", + :backup => "chef-git" + }, :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0", + :interface => "eth0.2801", :role => :internal, :family => :inet, :address => "10.0.0.12" }, :external_ipv4 => { - :interface => "eth1", + :interface => "eth0.2800", :role => :external, :family => :inet, :address => "193.60.236.20" @@ -21,7 +27,11 @@ default_attributes( ) run_list( - "role[ucl-slough]", + "role[ucl]", "role[hp-g5]", - "role[yournavigation]" + "role[yournavigation]", + "role[chef-server]", + "role[chef-repository]", + "recipe[git::server]", + "recipe[serverinfo]" )