Hello guys,

I'm installing puppet for the first time and i'm already struggleling to 
follow the proper first steps.

On my agent node if i launch it with the command below everything goes well 
:

ec2-user@ip-172-31-39-127:/etc/puppet> puppet agent --test 
--server=ec2-54-175-***-***.compute-1.amazonaws.com
Info: Caching certificate for ca
Info: csr_attributes file loading from 
/home/ec2-user/.puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for 
ip-172-31***-***.ec2.internal
Info: Certificate Request fingerprint (SHA256): 
B1:0D:C5:44:D9:6*****:20:37:ED:77:2B:46:03
Info: Caching certificate for ca

but if i configure the server variable in the puppet.conf file it does not 
work anymore : 

ec2-user@ip-172-31-***-***:/etc/puppet> vi puppet.conf
    rundir = /var/run/puppet
    ssldir = $vardir/ssl

[agent]
    servername = ec2-54-175-***-***.compute-1.amazonaws.com
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig


ec2-user@ip-172-31-***-***:/etc/puppet> puppet agent --test
Error: Could not request certificate: getaddrinfo: Name or service not known


Do you know what's wrong?

Thanks and regards,
Josse.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bc40f7b6-dd01-4648-b944-a94f84fd22be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to