<commit_before>require 'yaml'

home_dir = '/home/nick'

package %w(git vim zsh)

# python > 3.5 is required by dotbot
package 'python'
if !platform?('arch')
  package 'python3'
end

nick_ssh_keys = [
  'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAcVz27V8ysX1OYv5f89qHK7FktiHVruU4dJRsJvoDQn nick@passat',
  'ssh-rsa <KEY>== nick@polo',
]

nick_ssh_keys += node['np-users']['extra_ssh_keys']['nick']

groups = ['sudo']
if node['np-users']['nick']['in_docker_group']
  groups << 'docker'
end

user_account 'nick' do
  home home_dir
  groups groups
  shell '/usr/bin/zsh'
  ssh_keygen false
  ssh_keys nick_ssh_keys
end
<commit_msg>fix cookstyle violation<commit_after>require 'yaml'

home_dir = '/home/nick'

package %w(git vim zsh)

# python > 3.5 is required by dotbot
package 'python'
unless platform?('arch')
  package 'python3'
end

nick_ssh_keys = [
  'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAcVz27V8ysX1OYv5f89qHK7FktiHVruU4dJRsJvoDQn nick@passat',
  'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5ec/R2Tgmk3/Ta/bzO/sH426BRq4YZuqv0dNW5FdA81lgZo6gr3X8b9EfMacpsig1p6SRl1bLVkD4IEXIOKmKjC9g2jVxHLipSvR3Xcg93WsuPbSymbDyngxOz0tDyKQsk7yhLjqcpuk4DHmFRk5L/aZq1uHaSc/upJSDFsLYOZ2WqOqwquaRyFpJBuTgdiNLPwXXrSi87MoEDxXu0mQ76Q3+Y/xp9gJzs3bhjgtcZZQI6HsqgVbOQsOHMQyY63HQDGfq1HfB3nGpRPC3BdYVUWdNgIGVxONbHhdVBHAsXr0ISVnMhBCsqufqopYbZxg5/qBnbapDLsgVs9f19KxP/WeiWZG5dVnlyf5pdGOqZ7nbU11MyXNVycq34kbCSHnwn2skxXAd4SCUJ1HgFp1IsAFBIj2J0lPVbB6z6HjVIdBn88h9/pZDR1RoX/uA3pLVwNc7bWmx44+TWEHvlMsgL5R986Pr/5xZlHiUueKLr70ehO3PAMGFJ5d5JhZi7v2M8XMxgM0c8J3StyXTuXbVCe5S7DEh01DeOpEhs82bfm9/DEwBpNtu52PUTvO1mx/iZavJSVHIH/OoMAw53P5Ujq70ytxfm2Z9GaCcSURoOhwB8+Qiisg0yUYEt+YkgYhnu2Xqro1R/ZHg//rS9gQy1E1Hu6z/lGLLFeL2liw8ww== nick@polo',
]

nick_ssh_keys += node['np-users']['extra_ssh_keys']['nick']

groups = ['sudo']
if node['np-users']['nick']['in_docker_group']
  groups << 'docker'
end

user_account 'nick' do
  home home_dir
  groups groups
  shell '/usr/bin/zsh'
  ssh_keygen false
  ssh_keys nick_ssh_keys
end

{'fraction_non_alphanumeric': 0.09867751780264497, 'fraction_numerical': 0.08138351983723296, 'mean_word_length': 8.278301886792454, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 6, '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': '1016931', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1052, 'n_words': 104}