Not able to install puppet enterprise onn agent node using install command.

145 views
Skip to first unread message

lalit jangra

unread,
Dec 24, 2012, 5:19:17 AM12/24/12
to puppet...@googlegroups.com
Hi,

I have created an agent node from a master node using below command.

puppet node_aws create --image ami-cc5af9a5 --keyname icos-client --type ti.micro

Now as i am trying to install puppet on it using below command

puppet node install \
--install-script=puppet-
enterprise \
--installer-payload=/usr/local/puppet/puppet-2.7.0.tar.gz \
--installer-answers=/usr/local/puppet/agent.txt \
--puppetagent-certname=ip-10-224-122-211.ec2.internal \
--login root \
--debug \
--keyfile  /usr/local/puppet/lalit.ppk \
ec2-54-242-140-98.compute-1.amazonaws.com

I am getting below error message.

[root@ip-10-224-122-211 puppet]# puppet node install \
> --install-script=puppet-enterprise \
> --installer-payload=/usr/local/puppet/puppet-2.7.0.tar.gz \
> --installer-answers=/usr/local/puppet/agent.txt \
> --puppetagent-certname=ip-10-224-122-211.ec2.internal \
> --login root \
> --debug \
> --keyfile  /usr/local/puppet/lalit.ppk \
> ec2-54-242-140-98.compute-1.amazonaws.com
notice: Waiting for SSH response ...
info: Executing remote command ...
debug: Command: date
err: not a private key (/usr/local/puppet/lalit.ppk)
err: Try 'puppet help node install' for usage

Using same ppk file, i am able to login to agent node using ssh/putty client.I also tried using private dns instead of public dns but no success. Can anybody help.

Regards,
Lalit.
Message has been deleted

lalit jangra

unread,
Dec 25, 2012, 10:27:18 PM12/25/12
to puppet...@googlegroups.com
Any Help?

Drew Michel

unread,
Dec 26, 2012, 10:19:38 AM12/26/12
to puppet...@googlegroups.com
What operating system are you running the command from?

Does running "ssh -i /usr/local/puppet/lalit.ppk root@ec2-54-242-140-98.compute-1.amazonaws.com" allow you to login?

From what I understand a .ppk file is generated from putty, in order to use it with an open ssh agent you would need to convert the putty private key to a format it can understand


Drew
Reply all
Reply to author
Forward
0 new messages