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

default_attributes(
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "27",
        :gateway => "192.168.3.11"
      }
    }
  },
  :squid => {
    :cache_mem => "16000 MB",
    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
  },
  :tilecache => {
    :tile_parent => "montreal.render.openstreetmap.org",
    :tile_siblings => [
      "stormfly-02.openstreetmap.org",
      "jakelong.openstreetmap.org"
    ]
  }
)

run_list(
  "role[netalerts]",
  "role[geodns]",
  "role[tilecache]"
)<commit_msg>Update ascalon configuration for squid 3<commit_after>name "ascalon"
description "Master role applied to ascalon"

default_attributes(
  :networking => {
    :interfaces => {
      :external_ipv4 => {
        :interface => "eth0",
        :role => :external,
        :family => :inet,
        :address => "172.16.58.3",
        :prefix => "27",
        :gateway => "192.168.3.11"
      }
    }
  },
  :squid => {
    :version => "3",
    :cache_mem => "16000 MB",
    :cache_dir => "rock /store/squid/rock-01 128000 swap-timeout=500 max-swap-rate=200 slot-size=4096 max-size=262144"
  },
  :tilecache => {
    :tile_parent => "montreal.render.openstreetmap.org",
    :tile_siblings => [
      "stormfly-02.openstreetmap.org",
      "jakelong.openstreetmap.org"
    ]
  }
)

run_list(
  "role[netalerts]",
  "role[geodns]",
  "role[tilecache]"
)
{'fraction_non_alphanumeric': 0.17316017316017315, 'fraction_numerical': 0.06307977736549165, 'mean_word_length': 2.6523702031602707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 34, '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': '5064335', 'n_tokens_mistral': 678, 'n_tokens_neox': 606, 'n_words': 98}