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.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/nLvKCDTre3MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to