--- /dev/null
+name "naga"
+description "Master role applied to naga"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "ens18",
+ :role => :external,
+ :family => :inet,
+ :address => "185.216.27.232",
+ :prefix => "24",
+ :gateway => "185.216.27.253"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "12500 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",
+ "necrosan.openstreetmap.org",
+ "ladon.openstreetmap.org",
+ "culebre.openstreetmap.org"
+ ]
+ }
+)
+
+run_list(
+ "role[proxgroup]",
+ "role[tilecache]"
+)
--- /dev/null
+name "proxgroup"
+description "Role applied to all servers at ProxGroup"
+
+default_attributes(
+ :hosted_by => "ProxGroup",
+ :location => "Paris, France",
+ :networking => {
+ :nameservers => ["8.8.8.8", "8.8.4.4"],
+ :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]"
+)