<commit_before># After creating your AWS servers and setting up your ssh key
#
namespace :chef_client do
  desc "Make your chef clients"
  task :doit do
    servers.hostname
    servers.upgrade
    servers.build
    ruby.rvm
    ruby.chef.client
  end
end
#
#
namespace :chef_server do
  desc "Make your chef server"
  task :doit do
    servers.hostname
    servers.upgrade
    servers.build
    ruby.rvm
    ruby.chef.server
  end
  desc "Setup Knife on server"
  task :knifesetup, :roles=> :c_server  do
    run "mkdir -p #{user_home_dir}/.chef" 
    run "#{sudo} cp /etc/chef/validation.pem /etc/chef/webui.pem #{user_home_dir}/.chef ;  #{sudo} chown -R $USER #{user_home_dir}/.chef"
    run "knife configure --defaults --yes --repository . "
    run "knife client list"
  end
end<commit_msg>working out some rvm bugs<commit_after># After creating your AWS servers and setting up your ssh key
#
namespace :chef_client do
  desc "Make your chef clients"
  task :doit , :roles=> :c_client do
    servers.hostname
    servers.upgrade
    servers.build
    ruby.rvm
    ruby.rvm
    ruby.chef.client
  end
end
#
#
namespace :chef_server do
  desc "Make your chef server"
  task :doit , :roles=> :c_server do
    servers.hostname 
    servers.upgrade
    servers.build
    ruby.rvm
    ruby.rvm
    ruby.chef.server
  end
  desc "Setup Knife on server"
  task :knifesetup, :roles=> :c_server  do
    run "mkdir -p #{user_home_dir}/.chef" 
    run "#{sudo} cp /etc/chef/validation.pem /etc/chef/webui.pem #{user_home_dir}/.chef ;  #{sudo} chown -R $USER #{user_home_dir}/.chef"
    run "knife configure --defaults --yes --repository . "
    run "knife client list"
  end
end
{'fraction_non_alphanumeric': 0.10652304009575105, 'fraction_numerical': 0.0, 'mean_word_length': 2.924882629107981, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2514454', 'n_tokens_mistral': 617, 'n_tokens_neox': 609, 'n_words': 177}