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

default_attributes(
  :accounts => {
    :users => {
      :anovak => { :status => :administrator }
    }
  },
  :location => "Pula, Croatia",
  :munin => {
    :allow => ["192.168.3.11"]
  },
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "29",
        :gateway => "172.16.31.10"
      },
      :external_ipv6 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet6,
        :address => "fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b",
        :prefix => "64",
        :gateway => "fc00:e968:6179::de52:7100"
      }
    },
    :nameservers => [
      "8.8.8.8",
      "8.8.4.4",
      "fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b",
      "fc00:e968:6179::de52:7100"
    ]
  },
  :squid => {
    :cache_mem => "35000 MB",
    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
  },
  :tilecache => {
    :tile_parent => "pula.render.openstreetmap.org",
    :tile_siblings => [
      "drogon.openstreetmap.org"
    ]
  }
)

run_list(
  "role[carnet]",
  "role[tilecache]"
)
<commit_msg>Reduce cache memory on viserion<commit_after>name "viserion"
description "Master role applied to viserion"

default_attributes(
  :accounts => {
    :users => {
      :anovak => { :status => :administrator }
    }
  },
  :location => "Pula, Croatia",
  :munin => {
    :allow => ["192.168.3.11"]
  },
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "29",
        :gateway => "172.16.31.10"
      },
      :external_ipv6 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet6,
        :address => "fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b",
        :prefix => "64",
        :gateway => "fc00:e968:6179::de52:7100"
      }
    },
    :nameservers => [
      "8.8.8.8",
      "8.8.4.4",
      "fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b",
      "fc00:e968:6179::de52:7100"
    ]
  },
  :squid => {
    :cache_mem => "32000 MB",
    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
  },
  :tilecache => {
    :tile_parent => "pula.render.openstreetmap.org",
    :tile_siblings => [
      "drogon.openstreetmap.org"
    ]
  }
)

run_list(
  "role[carnet]",
  "role[tilecache]"
)

{'fraction_non_alphanumeric': 0.1955177743431221, 'fraction_numerical': 0.10510046367851623, 'mean_word_length': 2.332046332046332, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, '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': '2710513', 'n_tokens_mistral': 1202, 'n_tokens_neox': 1067, 'n_words': 148}