The command that should be used is: sudo chef-client The issue is resolved now. Thanks. From: Bhanot,
Jyoti [mailto:
Hi All, I am using Chef to create a server in AWS Amazon Environment using knife ec2 plugin.I have created the EC2 Server using the following command:
knife ec2 server create --image ami-7c807d14 --flavor t1.micro --region us-east-1 --security-group-ids sg-ID --ebs-size 10 --ebs-no-delete-on-term
--tags Name=Test_Server --server-connect-attribute private_ip_address --subnet subnet-ID --ssh-user ec2-user --identity-file ~/.ssh/key.pem --environment Testing --node-name Redhat-Server
But when I logon to the EC2 server and executes the command
sudo chef client ,it gives me an error :
I have checked on the chef server that the status of the node is fine. Please help me resolve this issue. Thanks & Regards, Jyoti Bhanot
|
Archive powered by MHonArc 2.6.16.