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

default_attributes(
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "bond0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "29",
        :gateway => "172.16.31.10",
        :bond => {
          :mode => "802.3ad",
          :slaves => %w[ens1f0 ens1f1]
        }
      },
      :external_ipv6 => {
        :interface => "bond0",
        :role => :external,
        :family => :inet6,
        :address => "fdf8:f53e:61e4::18",
        :prefix => "64",
        :gateway => "fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b"
      }
    }
  },
  :squid => {
    :cache_mem => "7500 MB",
    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
  },
  :tilecache => {
    :tile_parent => "usa.render.openstreetmap.org",
    :tile_siblings => [
      "stormfly-02.openstreetmap.org",
      "ascalon.openstreetmap.org",
      "jakelong.openstreetmap.org"
    ]
  }
)

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

default_attributes(
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "bond0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "29",
        :gateway => "172.16.31.10",
        :bond => {
          :mode => "802.3ad",
          :slaves => %w[ens1f0 ens1f1]
        }
      },
      :external_ipv6 => {
        :interface => "bond0",
        :role => :external,
        :family => :inet6,
        :address => "fdf8:f53e:61e4::18",
        :prefix => "64",
        :gateway => "fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b"
      }
    }
  },
  :squid => {
    :cache_mem => "5500 MB",
    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
  },
  :tilecache => {
    :tile_parent => "usa.render.openstreetmap.org",
    :tile_siblings => [
      "stormfly-02.openstreetmap.org",
      "ascalon.openstreetmap.org",
      "jakelong.openstreetmap.org"
    ]
  }
)

run_list(
  "role[teraswitch]",
  "role[tilecache]"
)
{'fraction_non_alphanumeric': 0.17871222076215507, 'fraction_numerical': 0.07621550591327202, 'mean_word_length': 2.2443181818181817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3985289', 'n_tokens_mistral': 978, 'n_tokens_neox': 880, 'n_words': 133}