Ask Your Question

how to change puppet certname from fqdn to ip address of agent ?

asked 2014-11-13 23:27:19 -0600

umairch gravatar image

Hostnames of puppet agent nodes are not consistent and some times there's need to change them, is there a way to configure puppet such that it registers the nodes with their ip address as certname instead of hostnames.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-11-16 14:58:34 -0600

Stefan gravatar image

You can set the certname setting in your agent's puppet.conf file to an arbitrary value so it is possible to put the ip address here. You may also be able to set the nodenamefact value to ipaddress to get the same effect but I never used it before so I'm not sure if this has any drawbacks.

Note that you can also set these settings on the commandline, e.g. puppet agent --certname

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-11-13 23:27:19 -0600

Seen: 3,930 times

Last updated: Nov 16 '14