Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 695 Bytes

README.mdown

File metadata and controls

33 lines (22 loc) · 695 Bytes

chef-keys

creates ssh keys in a destined user dir

Assumptions

Attributes

Recipes

  • keys: copies keys into /home/#{$client_username}/.ssh/

json structure example

chef.json = {
	"ssh_keys"=> {
		"username"=> $client_username,
		"usergroup"=> $client_username,
		"userhomedir"=> "/var/customers/webs/#{$client_username}",
		"id_rsa"=> "private key goes here",
		"id_rsa.pub"=> "public key goes here"
			"id_dsa"=> "private key goes here",
		"id_dsa.pub"=> "public key goes here"
	},
}

Legal