na:osm <%= @type %>
tnn:osm <%= @type %>
av:osm <%= @type %>
+grf:osm <%= @type %>
--- /dev/null
+name "grifon"
+description "Role applied to all servers at Grifon"
+
+default_attributes(
+ :hosted_by => "Grifon",
+ :location => "Paris, France",
+ :munin => {
+ :allow => ["2a00:5884::8"]
+ },
+ :networking => {
+ :nameservers => ["2a00:5884::7"],
+ :roles => {
+ :external => {
+ :zone => "grf"
+ }
+ }
+ }
+)
+
+override_attributes(
+ :ntp => {
+ :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
+ }
+)
+
+run_list(
+ "role[fr]"
+)
:tilecache => {
:tile_parent => "france.render.openstreetmap.org",
:tile_siblings => [
+ "noomoahk.openstreetmap.org",
+ "norbert.openstreetmap.org",
"trogdor.openstreetmap.org",
"katie.openstreetmap.org",
"konqi.openstreetmap.org",
:tile_parent => "france.render.openstreetmap.org",
:tile_siblings => [
"nepomuk.openstreetmap.org",
+ "norbert.openstreetmap.org",
"ladon.openstreetmap.org",
"culebre.openstreetmap.org"
]
--- /dev/null
+name "norbert"
+description "Master role applied to norbert"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "ens18",
+ :role => :external,
+ :family => :inet,
+ :address => "89.234.186.100",
+ :prefix => "27",
+ :gateway => "89.234.186.97"
+ },
+ :external_ipv6 => {
+ :interface => "ens18",
+ :role => :external,
+ :family => :inet6,
+ :address => "2a00:5884:821c::1",
+ :prefix => "48",
+ :gateway => "fe80::204:92:100:1"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "7500 MB",
+ :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
+ },
+ :tilecache => {
+ :tile_parent => "france.render.openstreetmap.org",
+ :tile_siblings => [
+ "noomoahk.openstreetmap.org",
+ "nepomuk.openstreetmap.org",
+ "ladon.openstreetmap.org",
+ "culebre.openstreetmap.org"
+ ]
+ }
+)
+
+run_list(
+ "role[grifon]",
+ "role[tilecache]"
+)