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

default_attributes(
  :accounts => {
    :users => {
      :zelja => { :status => :administrator }
    }
  },
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "27",
        :gateway => "192.168.3.11"
      },
      :external_ipv6 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet6,
        :address => "fc00:e968:6179::de52:7100",
        :prefix => "64",
        :gateway => "fe80::161:53:30:97"
      }
    },
    :nameservers => [
      "172.16.58.3",
      "8.8.8.8"
    ]
  },
  :squid => {
    :cache_mem => "6000 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 => [
      "viserion.openstreetmap.org"
    ]
  }
)

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

default_attributes(
  :accounts => {
    :users => {
      :zelja => { :status => :administrator }
    }
  },
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "27",
        :gateway => "192.168.3.11"
      },
      :external_ipv6 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet6,
        :address => "fc00:e968:6179::de52:7100",
        :prefix => "64",
        :gateway => "fe80::161:53:30:97"
      }
    },
    :nameservers => [
      "172.16.58.3",
      "8.8.8.8"
    ]
  },
  :squid => {
    :cache_mem => "4000 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 => [
      "viserion.openstreetmap.org"
    ]
  }
)

run_list(
  "role[carnet]",
  "role[tilecache]"
)
{'fraction_non_alphanumeric': 0.1891891891891892, 'fraction_numerical': 0.07927927927927927, 'mean_word_length': 2.168330955777461, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '5474516', 'n_tokens_mistral': 945, 'n_tokens_neox': 847, 'n_words': 134}