<commit_before>#
# Cookbook Name:: percona
# Recipe:: percona_repo
#

case node['platform']
when "ubuntu", "debian"
  include_recipe "apt"

  apt_repository "percona" do
    uri "http://repo.percona.com/apt"
    distribution node['lsb']['codename']
    components ['main']
    keyserver node["percona"]["keyserver"]
    key "<KEY>"
    action :add
  end

  # install dependent package
  package "libmysqlclient-dev" do
    options "--force-yes"
  end

when "centos", "redhat", "scientific", "amazon", "fedora"
  include_recipe "yum"
  yum_key "RPM-GPG-KEY-percona" do
    url "http://www.percona.com/downloads/RPM-GPG-KEY-percona"
    action :add
  end

  yum_repository "percona" do
    name "CentOS #{node['lsb']['release']} - Percona"
    url "http://repo.percona.com/centos/#{node['lsb']['release']}/os/#{node['kernel']['machine']}/"
    key "RPM-GPG-KEY-percona"
    action :add
  end
end<commit_msg>pedantic quote style unification<commit_after>#
# Cookbook Name:: percona
# Recipe:: percona_repo
#

case node["platform"]
when "ubuntu", "debian"
  include_recipe "apt"

  apt_repository "percona" do
    uri "http://repo.percona.com/apt"
    distribution node['lsb']['codename']
    components ['main']
    keyserver node["percona"]["keyserver"]
    key "<KEY>"
    action :add
  end

  # install dependent package
  package "libmysqlclient-dev" do
    options "--force-yes"
  end

when "centos", "redhat", "scientific", "amazon", "fedora"
  include_recipe "yum"
  yum_key "RPM-GPG-KEY-percona" do
    url "http://www.percona.com/downloads/RPM-GPG-KEY-percona"
    action :add
  end

  yum_repository "percona" do
    name "CentOS #{node["lsb"]["release"]} - Percona"
    url "http://repo.percona.com/centos/#{node["lsb"]["release"]}/os/#{node["kernel"]["machine"]}/"
    key "RPM-GPG-KEY-percona"
    action :add
  end
end
{'fraction_non_alphanumeric': 0.17058501913613996, 'fraction_numerical': 0.0, 'mean_word_length': 3.867021276595745, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6165470', 'n_tokens_mistral': 694, 'n_tokens_neox': 687, 'n_words': 140}