Information Technology Reference
In-Depth Information
Figure A-4. Create a user
In the
chef-repo
directory you created in
Install Open Source Chef Server
,
create a subdirect-
ory called
.chef
. Our
chef-repo
is in our home directory; change the following command if
your
chef-repo
is located elsewhere:
$
cd $HOME/chef-repo
$
mkdir .chef
After creating the
chef-repo/.chef
directory, copy the
<username>.pem
file you just created.
You also need to get a copy of the
/etc/chef-server/chef-validator.pem
key from Chef Server.
Run the following
scp
command to download the key as root. The password is
vagrant
:
$
scp root@192.168.33.36:/etc/chef-server/chef-validator.pem .
root@192.168.33.36's password:
vagrant
chef-validator.pem 100% 1675 1.6KB/s 00:00