<commit_before>Chef::Log.info("******* Entering iterfaces.rb, the inetrface name is #{sde_node['eth_name']}")

sde_node_name=node['hostname']

Chef::Log.info("******* The node's hostname is #sde_node_name. It will be used to retrieve node's attributes from the sed_nodes data bag...")

sde_node = data_bag_item('sde_nodes', sde_node_name)

<commit_msg>fixes for support for data bag in interfaces<commit_after>Chef::Log.info("******* Entering iterfaces.rb, the inetrface name is #{sde_node['eth_name']}")

sde_node_name=node['hostname']

Chef::Log.info("******* The node's hostname is #sde_node_name. It will be used to retrieve node's attributes from the sed_nodes data bag...")

sde_node = search(:sde-nodes, "id:#sde_node_name").first

{'fraction_non_alphanumeric': 0.16395663956639567, 'fraction_numerical': 0.0, 'mean_word_length': 6.778947368421052, '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': '3391404', 'n_tokens_mistral': 262, 'n_tokens_neox': 259, 'n_words': 69}