<commit_before>name "pummelzacken"
description "Master role applied to pummelzacken"

default_attributes(
  :networking => {
    :interfaces => {
      :internal_ipv4 => {
        :interface => "em1",
        :role => :internal,
        :family => :inet,
        :address => "10.0.0.20"
      },
      :external_ipv4 => {
        :interface => "em2",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3"
      }
    }
  },
  :postgresql => {
    :versions => [ "9.3" ],
    :settings => {
      :defaults => {
        :shared_buffers => "10GB",
        :work_mem => "160MB",
        :maintenance_work_mem => "10GB",
        :random_page_cost => "1.5",
        :effective_cache_size => "60GB",
        :fsync => "on"
      }
    }
  },
  :nominatim => {
    :enabled => true,
    :flatnode_file => "/ssd/nominatim/nodes.store",
    :database => {
        :cluster => "9.3/main",
        :dbname => "nominatim",
        :postgis => "2.1"
    },
    :fpm_pools => {
        :www => {
            :port => "8000",
            :pm => "dynamic",
            :max_children => "70"
        },
        :bulk => {
            :port => "8001",
            :pm => "static",
            :max_children => "10"
        }
    },
    :tablespaces => {
        "Osm2pgsql_Data" => "ssd",<commit_msg>put pummelzacken in import mode<commit_after>name "pummelzacken"
description "Master role applied to pummelzacken"

default_attributes(
  :networking => {
    :interfaces => {
      :internal_ipv4 => {
        :interface => "em1",
        :role => :internal,
        :family => :inet,
        :address => "10.0.0.20"
      },
      :external_ipv4 => {
        :interface => "em2",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3"
      }
    }
  },
  :postgresql => {
    :versions => [ "9.3" ],
    :settings => {
      :defaults => {
        :shared_buffers => "10GB",
        :work_mem => "160MB",
        :maintenance_work_mem => "20GB",
        :random_page_cost => "1.5",
        :effective_cache_size => "60GB",
        :fsync => "off"
      }
    }
  },
  :nominatim => {
    :enabled => false,
    :flatnode_file => "/ssd/nominatim/nodes.store",
    :database => {
        :cluster => "9.3/main",
        :dbname => "nominatim",
        :postgis => "2.1"
    },
    :fpm_pools => {
        :www => {
            :port => "8000",
            :pm => "dynamic",
            :max_children => "70"
        },
        :bulk => {
            :port => "8001",
            :pm => "static",
            :max_children => "10"
        }
    },
    :tablespaces => {
        "Osm2pgsql_Data" => "ssd",
{'fraction_non_alphanumeric': 0.1847662141779789, 'fraction_numerical': 0.03619909502262444, 'mean_word_length': 1.6450648055832502, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1420117', 'n_tokens_mistral': 974, 'n_tokens_neox': 941, 'n_words': 155}