This is for the new vector tile server that will be running at
CloudFerro
--- /dev/null
+name "cmok"
+description "Master role applied to cmok"
+
+default_attributes(
+ :networking => {
+ :intefaces => {
+ :external => {
+ :interface => "ens3",
+ :role => :external,
+ :inet => {
+ :prefix => "24",
+ :gateway => "10.0.0.1",
+ :public_address => "64.225.143.127"
+ }
+ }
+ }
+ },
+ :postgresql => {
+ :settings => {
+ :defaults => {
+ :effective_cache_size => "400GB"
+ }
+ }
+ },
+ :sysctl => {
+ :postgres => {
+ :comment => "Increase shared memory for postgres",
+ :parameters => {
+ "kernel.shmmax" => 9 * 1024 * 1024 * 1024,
+ "kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096
+ }
+ }
+ }
+)
+
+run_list(
+ "role[cloudferro-waw3-2]"
+)