<commit_before>include_recipe 'ohai::default'

ohai 'reload cloud_linode' do
  plugin 'cloud_linode'
  action :reload
end<commit_msg>Override incorrect networking attributes with the correct values.<commit_after>include_recipe 'ohai::default'

ohai 'reload cloud_linode' do
  plugin 'cloud_linode'
  action :reload
end

node.set['linode']['public_ip'] = node['cloud_linode']['public_ip']

node.set['cloud']['public_ips'] = [node['cloud_linode']['public_ip']]
node.set['cloud']['private_ips'] = [node['cloud_linode']['private_ip']]
node.set['cloud']['public_ipv4'] = node['cloud_linode']['public_ip']
node.set['cloud']['local_ipv4'] = node['cloud_linode']['private_ip']
node.set['cloud']['public_hostname'] = node['fqdn']
node.set['cloud']['local_hostname'] = node['hostname']

node.set['cloud_v2']['public_ipv4_addrs'] = [node['cloud_linode']['public_ip']]
node.set['cloud_v2']['public_ipv4'] = node['cloud_linode']['public_ip']
{'fraction_non_alphanumeric': 0.19935344827586207, 'fraction_numerical': 0.00646551724137931, 'mean_word_length': 10.91025641025641, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3173412', 'n_tokens_mistral': 318, 'n_tokens_neox': 324, 'n_words': 46}