<commit_before>
default['icinga2']['yum']['description'] = 'ICINGA Stable Release'
default['icinga2']['yum']['mirrorlist'] = nil
default['icinga2']['yum']['gpgcheck'] = true
default['icinga2']['yum']['enabled'] = true
default['icinga2']['yum']['gpgkey'] = 'http://packages.icinga.org/icinga.key'
default['icinga2']['yum']['action'] = :create

default['icinga2']['yum']['baseurl'] = value_for_platform(
  %w(centos redhat fedora) => { 'default' => 'http://packages.icinga.org/epel/$releasever/release/' },
  'amazon' => { 'default' => 'http://packages.icinga.org/epel/6/release/' }
)

default['icinga2']['apt']['repo'] = 'ICINGA Stable Release'
default['icinga2']['apt']['uri'] = 'http://ppa.launchpad.net/formorer/icinga/ubuntu'
default['icinga2']['apt']['distribution'] = node['lsb']['codename']
default['icinga2']['apt']['keyserver'] = 'keyserver.ubuntu.com'
default['icinga2']['apt']['components'] = %w(main)
default['icinga2']['apt']['deb_src'] = true
default['icinga2']['apt']['key'] = '36862847'
default['icinga2']['apt']['action'] = :add

# icinga2 package version suffix
default['icinga2']['icinga2_version_suffix'] = value_for_platform(
  %w(centos redhat fedora) => { 'default' => ".el#{node['platform_version'].split('.')[0]}" },
  'amazon' => { 'default' => '.el6' },
  'ubuntu' => { 'default' => '~ppa1~' + node['lsb']['codename'].to_s + '1' }
)<commit_msg>iFeature #8454, enable snapshot yum repository<commit_after>
default['icinga2']['build_type'] = 'release' # options: release, snapshot

default['icinga2']['yum']['description'] = 'ICINGA Stable Release'
default['icinga2']['yum']['mirrorlist'] = nil
default['icinga2']['yum']['gpgcheck'] = true
default['icinga2']['yum']['enabled'] = true
default['icinga2']['yum']['gpgkey'] = 'http://packages.icinga.org/icinga.key'
default['icinga2']['yum']['action'] = :create

default['icinga2']['yum']['baseurl'] = value_for_platform(
  %w(centos redhat fedora) => { 'default' => "http://packages.icinga.org/epel/$releasever/#{node['icinga2']['build_type']}/" },
  'amazon' => { 'default' => "http://packages.icinga.org/epel/6/#{node['icinga2']['build_type']}/" }
)

default['icinga2']['apt']['repo'] = 'ICINGA Stable Release'
default['icinga2']['apt']['uri'] = 'http://ppa.launchpad.net/formorer/icinga/ubuntu'
default['icinga2']['apt']['distribution'] = node['lsb']['codename']
default['icinga2']['apt']['keyserver'] = 'keyserver.ubuntu.com'
default['icinga2']['apt']['components'] = %w(main)
default['icinga2']['apt']['deb_src'] = true
default['icinga2']['apt']['key'] = '36862847'
default['icinga2']['apt']['action'] = :add

# icinga2 package version suffix
default['icinga2']['icinga2_version_suffix'] = value_for_platform(
  %w(centos redhat fedora) => { 'default' => ".el#{node['platform_version'].split('.')[0]}" },
  'amazon' => { 'default' => '.el6' },
  'ubuntu' => { 'default' => '~ppa1~' + node['lsb']['codename'].to_s + '1' }
)
{'fraction_non_alphanumeric': 0.26846100759144237, 'fraction_numerical': 0.023809523809523808, 'mean_word_length': 8.174050632911392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1258207', 'n_tokens_mistral': 1057, 'n_tokens_neox': 1021, 'n_words': 134}