X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/6df7b8de1d8eeca6dba965c52456322eb2e11cf1..a61d0b3dd1a9ebccff4d6fb6112f937256d75764:/roles/catalyst.rb?ds=sidebyside diff --git a/roles/catalyst.rb b/roles/catalyst.rb new file mode 100644 index 000000000..cc6a7a28c --- /dev/null +++ b/roles/catalyst.rb @@ -0,0 +1,25 @@ +name "catalyst" +description "Role applied to all servers at Catalyst" + +default_attributes( + :hosted_by => "Catalyst", + :location => "New Zealand", + :networking => { + :nameservers => ["202.78.244.85", "202.78.244.86", "202.78.244.87"], + :roles => { + :external => { + :zone => "osm" + } + } + } +) + +override_attributes( + :ntp => { + :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "asia.pool.ntp.org"] + } +) + +run_list( + "role[nz]" +)