<commit_before># rvm installer now requires gpg keys be present if gpg
# is present on a system

# this should get added to fnichol/chef-rvm at some point, see
# https://github.com/fnichol/chef-rvm/issues/278

execute 'Adding gpg keys' do
	command 'gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 BF04FF17'
	only_if 'which gpg'
end<commit_msg>hardcode file to avoid keyserver spof<commit_after># rvm installer now requires gpg keys be present if gpg
# is present on a system

# this should get added to fnichol/chef-rvm at some point, see
# https://github.com/fnichol/chef-rvm/issues/278

cookbook_file '/etc/pki/rvm-keys.asc' do
	owner 'root'
	group 'root'
	mode '0644'
	source 'rvm-keys.asc'
	action :create
end

execute 'Adding gpg keys' do
	command 'gpg --import /etc/pki/rvm-keys.asc'
	only_if 'which gpg'
end
{'fraction_non_alphanumeric': 0.10315533980582524, 'fraction_numerical': 0.021844660194174758, 'mean_word_length': 4.030487804878049, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5973341', 'n_tokens_mistral': 324, 'n_tokens_neox': 308, 'n_words': 101}