ixz:osm <%= @type %>
grn:osm <%= @type %>
g5s:osm <%= @type %>
+na:osm <%= @type %>
--- /dev/null
+name "ascalon"
+description "Master role applied to ascalon"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "eth0",
+ :role => :external,
+ :family => :inet,
+ :address => "184.107.48.228",
+ :prefix => "27",
+ :gateway => "184.107.48.225"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "16000 MB",
+ :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+ },
+ :tilecache => {
+ :tile_parent => "montreal.render.openstreetmap.org",
+ :tile_siblings => [
+ "stormfly-02.openstreetmap.org",
+ "jakelong.openstreetmap.org"
+ ]
+ }
+)
+
+run_list(
+ "role[netalerts]",
+ "role[geodns]",
+ "role[tilecache]"
+)
--- /dev/null
+name "ca"
+description "Role applied to all servers located in Canada"
+
+override_attributes(
+ :country => "ca"
+)
+
+run_list(
+ "role[base]"
+)
:tilecache => {
:tile_parent => "sanfrancisco.render.openstreetmap.org",
:tile_siblings => [
- "nadder-01.openstreetmap.org",
- "nadder-02.openstreetmap.org",
"stormfly-02.openstreetmap.org",
+ "ascalon.openstreetmap.org",
"nepomuk.openstreetmap.org",
"katie.openstreetmap.org",
"konqi.openstreetmap.org"
--- /dev/null
+name "netalerts"
+description "Role applied to all servers at NetAlerts"
+
+default_attributes(
+ :hosted_by => "NetAlerts",
+ :location => "Montréal, Canada",
+ :networking => {
+ :nameservers => [
+ "209.172.41.202",
+ "209.172.41.200"
+ ],
+ :roles => {
+ :external => {
+ :zone => "na"
+ }
+ }
+ }
+)
+
+override_attributes(
+ :ntp => {
+ :servers => ["0.ca.pool.ntp.org", "1.ca.pool.ntp.org", "america.pool.ntp.org"]
+ }
+)
+
+run_list(
+ "role[ca]"
+)
:tilecache => {
:tile_parent => "corvallis.render.openstreetmap.org",
:tile_siblings => [
- "nadder-01.openstreetmap.org",
- "nadder-02.openstreetmap.org",
+ "ascalon.openstreetmap.org",
"jakelong.openstreetmap.org",
"nepomuk.openstreetmap.org",
"lurien.openstreetmap.org"