--- /dev/null
+name "dotsrc"
+description "Role applied to all servers at dotsrc.org"
+
+default_attributes(
+ :hosted_by => "dotsrc.org",
+ :location => "Aalborg, Denmark",
+ :networking => {
+ :nameservers => [
+ "130.226.1.2",
+ "130.226.255.53",
+ "2001:878:0:100::2"
+ ],
+ :roles => {
+ :external => {
+ :zone => "ds"
+ }
+ }
+ }
+)
+
+override_attributes(
+ :ntp => {
+ :servers => ["0.dk.pool.ntp.org", "1.dk.pool.ntp.org", "europe.pool.ntp.org"]
+ }
+)
+
+run_list(
+ "role[dk]"
+)
--- /dev/null
+name "odin"
+description "Master role applied to odin"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "eno1",
+ :role => :external,
+ :family => :inet,
+ :address => "130.225.254.123",
+ :prefix => "23",
+ :gateway => "130.225.254.97"
+ },
+ :external_ipv6 => {
+ :interface => "eno1",
+ :role => :external,
+ :family => :inet6,
+ :address => "2001:878:346::123",
+ :prefix => "64",
+ :gateway => "2001:878:346::97"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "16000 MB",
+ :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
+ },
+ :tilecache => {
+ :tile_parent => "aalborg.render.openstreetmap.org",
+ :tile_siblings => [
+ "trogdor.openstreetmap.org",
+ "katie.openstreetmap.org",
+ "konqi.openstreetmap.org",
+ "ridgeback.openstreetmap.org",
+ "gorynych.openstreetmap.org"
+ ]
+ }
+)
+
+run_list(
+ "role[dotsrc]",
+ "role[tilecache]"
+)