--- /dev/null
+name "milkywan"
+description "Role applied to all servers at MilkyWan"
+
+default_attributes(
+ :accounts => {
+ :users => {
+ :milkywan => { :status => :administrator }
+ }
+ },
+ :hosted_by => "MilkyWan",
+ :location => "France",
+ :networking => {
+ :nameservers => ["130.117.11.11", "2a0b:cbc0:42::42"],
+ :roles => {
+ :external => {
+ :zone => "osm"
+ }
+ }
+ }
+)
+
+override_attributes(
+ :ntp => {
+ :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
+ }
+)
+
+run_list(
+ "role[fr]"
+)
--- /dev/null
+name "necrosan"
+description "Master role applied to necrosan"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "ens18",
+ :role => :external,
+ :family => :inet,
+ :address => "80.67.167.77",
+ :prefix => "32",
+ :gateway => "10.0.6.1"
+ },
+ :external_ipv6 => {
+ :interface => "ens18",
+ :role => :external,
+ :family => :inet6,
+ :address => "2a0b:cbc0:110d:1::1c",
+ :prefix => "64",
+ :gateway => "2a0b:cbc0:110d:1::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",
+ "norbert.openstreetmap.org",
+ "ladon.openstreetmap.org",
+ "culebre.openstreetmap.org"
+ ]
+ }
+)
+
+run_list(
+ "role[milkywan]",
+ "role[tilecache]"
+)
:tile_siblings => [
"noomoahk.openstreetmap.org",
"norbert.openstreetmap.org",
+ "necrosan.openstreetmap.org",
"trogdor.openstreetmap.org",
"katie.openstreetmap.org",
"konqi.openstreetmap.org",
:tile_siblings => [
"nepomuk.openstreetmap.org",
"norbert.openstreetmap.org",
+ "necrosan.openstreetmap.org",
"ladon.openstreetmap.org",
"culebre.openstreetmap.org"
]
:tile_siblings => [
"noomoahk.openstreetmap.org",
"nepomuk.openstreetmap.org",
+ "necrosan.openstreetmap.org",
"ladon.openstreetmap.org",
"culebre.openstreetmap.org"
]