sudo chef-server-ctl reconfigure sudo chef-server-ctl user-create admin tam hanna tamhan@tamoggemon.com -f admin.pem sudo chef-server-ctl org-create tmgn "tamoggemon holding" --association_user admin -f orgValidator.pem git clone https://github.com/chef/chef-repo.git knife configure client ./ log_level :info log_location STDOUT chef_server_url 'https://192.168.121.129/ organizations/tmgn' validation_client_name 'tmgn-validator' ssl_verify_mode :verify_none node_name 'ChefSlave1' knife cookbook create adminbook knife cookbook upload adminbook export EDITOR=pico knife node edit ChefSlave1 powershell_script "run-dxdiag" do code <-EOH dxdiag EOH end "run_list": [ "recipe[adminbook]", "recipe[dxdiagbook]" ] template '/tmp/myfile' do mode 00644 source 'myfile.erb' not_if {File.exists?('/etc/passwd')} end git clone https://github.com/opscode-cookbooks/dsc.git