--- /dev/null
+name "chrysophylax"
+description "Master role applied to chrysophylax"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "ens160",
+ :role => :external,
+ :family => :inet,
+ :address => "217.71.244.22",
+ :prefix => "30",
+ :gateway => "217.71.244.21"
+ },
+ :external_ipv6 => {
+ :interface => "ens160",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:8e0:40:2039::10",
+ :prefix => "64",
+ :gateway => "2001:8e0:40:2039::1"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "7500 MB",
+ :cache_dir => "coss /store/squid/coss-01 128000 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[iway]",
+ "role[tilecache]"
+)
--- /dev/null
+name "iway"
+description "Role applied to all servers at iWay"
+
+default_attributes(
+ :accounts => {
+ :users => {
+ :cramer => { :status => :administrator }
+ }
+ },
+ :hosted_by => "iWay",
+ :location => "Zurich, Switzerland",
+ :networking => {
+ :nameservers => ["2001:8e0:ffff:ac1::1", "8.8.8.8", "8.8.4.4"],
+ :roles => {
+ :external => {
+ :zone => "osm"
+ }
+ }
+ }
+)
+
+override_attributes(
+ :ntp => {
+ :servers => ["0.ch.pool.ntp.org", "1.ch.pool.ntp.org", "europe.pool.ntp.org"]
+ }
+)
+
+run_list(
+ "role[ch]"
+)